Important - Hands Up!
- Please ask using the account with which you made the purchase or download of our products and in its respective category.
- If you bought our products in another market, ask your questions in that market, not here.
* ADD PRODUCT NAME IN START OF SUBJET
Joomstagram - Warning message
- D
- DuRaN New Member
- Topic Author 1 year 7 months ago #1
Hello everyone! I just installed the Joomstagram module and I get the following error message, so it doesn't show the content correctly:
Warning: Undefined property: stdClass::$caption in [...]/mod_ut_joomstagram/tmpl/default_item.php on line 58
Any idea about how to fix it?
Best regards!!!
Warning: Undefined property: stdClass::$caption in [...]/mod_ut_joomstagram/tmpl/default_item.php on line 58
Any idea about how to fix it?
Best regards!!!
Please Log in or Create an account to join the conversation.
- L
- leoalv Moderator
- 1 year 7 months ago #2
The problem is not the code, the problem is in the JSON that is obtained from instagram, possibly the JSON is not being obtained or the JSON has errors or strange characters that make media->caption inaccessible.
Regards
Regards
Please Log in or Create an account to join the conversation.
- D
- DuRaN New Member
- Topic Author 1 year 7 months ago #3
Please Log in or Create an account to join the conversation.
- L
- leoalv Moderator
- 1 year 7 months ago #4
Go to your site root /cache/mod_ut_joomstagram/YOURUSERNAME/feed.json and share file to check.
Your instagram posts have descriptions?
Your instagram posts have descriptions?
Please Log in or Create an account to join the conversation.
- D
- DuRaN New Member
- Topic Author 1 year 7 months ago #5
Please Log in or Create an account to join the conversation.
- L
- leoalv Moderator
- 1 year 7 months ago #6
What version of joomstagram are you using? because the default_item.php file only has 73 and not 115. Or have you made modifications to the file?
On the other hand, the problem is that some of your instagram posts do not have a description, therefore the json does not have the CAPTION key. But we have that with the condition that data is obtained only if the caption key exists, therefore there should be no errors.
What do you have selected in Joomla configuration >> Server >> Error Reporting?
What version of PHP are you using?
On the other hand, the problem is that some of your instagram posts do not have a description, therefore the json does not have the CAPTION key. But we have that with the condition that data is obtained only if the caption key exists, therefore there should be no errors.
What do you have selected in Joomla configuration >> Server >> Error Reporting?
What version of PHP are you using?
Please Log in or Create an account to join the conversation.
We use cookies to ensure that we give you the best experience on our website. Please read our Privacy Policy