Tagged: Yolo instagram
Hi, the Yolo Instagram element throws an error:
Warning: array_slice() expects parameter 1 to be array, object given in /[...]/wp-content/plugins/behealth-framework/includes/shortcodes/instagram/instagram.php on line 35"
Worked until some days ago and we didn't change our Instagram settings...
I'm experiencing the same issue, any update on what happened here?
Currently, the Instagram changed data retrieval method. We are updating this problem on all our theme and will upload in the next 1 to 2 days.
To disable the warning, you can go to the "instagram.php" file (wp-content/plugins/behealth-framework/includes/shortcodes/instagram/) and change the condition for "if" statement as attached link.
!is_wp_error( $data ) && is_array($data)
Thank you very much. I changed the if condition as suggested. The warning is gone, but it's still throwing a "bool(false)" on the screen.
Thank you very much.
However, it doesn't work as expected: There are only one or two Instagram pictures loaded and shown (after long waiting), the rest fails with net::ERR_CONNECTION_RESET errors.
Please take another look.
I have checked and the Instagram still normal works.
I think the cause of this problem is not in source code.
You can try to remove the browser cache. If it is unsuccessful, you can google search with the keyword "ERR_CONNECTION_RESET" to get clearer.
today it works smoothly again. Perhaps the Instagram cdn servers have had problems delivering content yesterday.
You must be logged in and have valid license to reply to this topic.