Homepage › Forum › Product Support › BeHealth › Yolo Instagram
Tagged: Yolo instagram
- This topic has 11 replies, 4 voices, and was last updated 5 years, 5 months ago by
jucasohe.
-
AuthorPosts
-
7 years, 9 months ago #15294
Hi, the Yolo Instagram element throws an error:
"bool(false)
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...
Thanks,
Steve7 years, 9 months ago #15324I'm experiencing the same issue, any update on what happened here?
7 years, 9 months ago #15327Hi,
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)
Thanks.
7 years, 9 months ago #15335Hi tinhbeng,
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.
Steve
7 years, 9 months ago #15346Hi, @Stephan.
I have updated the shortcode "Instagram" on your site. http://test3.klosterreisen.de
You can reload and check it.
Thanks.
7 years, 9 months ago #15362Hi tinhbeng,
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.
Thanks,
Steve7 years, 9 months ago #15369Hi,
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.
Thanks.
7 years, 8 months ago #15397Hi tinhbeng,
today it works smoothly again. Perhaps the Instagram cdn servers have had problems delivering content yesterday.
Thanks again!
Steve7 years, 8 months ago #15410This reply has been marked as private.7 years, 8 months ago #15475This reply has been marked as private.7 years, 8 months ago #15478This reply has been marked as private.5 years, 5 months ago #22098This reply has been marked as private. -
AuthorPosts
You must be logged in and have valid license to reply to this topic.
