I have a similar problem…
But mine relates to attributes()
http://www.vlog.thebespokeblackbook.com/culture/
Fatal error: Call to a member function attributes() on a non-object in /{removed}/plugins/youtube-channel-gallery/youtube-channel-gallery.php on line 636
The problem comes from private videos in a playlist.
Add this line just before line 636 in the file for it to work, or unprivatise your videos :
if(!$media->group->thumbnail) continue;
If the correction could be done in the plugin it would be great !
Thanks by advance.
Hi
I have the same problem
Fatal error: Cannot use object of type WP_Error as array in E:\XAMPP\htdocs\WPtesttest\wp-content\plugins\youtube-channel-gallery\youtube-channel-gallery.php on line 553
When the error occurs, it blocks the functionality of other plugins, example ‘Ditty News Ticker’
Thanks
We updated to the new version, but still see: Fatal error: Cannot use object of type WP_Error as array in /home/kck1/public_html/aac/wp-content/plugins/youtube-channel-gallery/youtube-channel-gallery.php on line 557.
Plugin Author
PoseLab
(@javitxu123)
Hi kckconsult
could send the shortcode you are using or the values of the widget?
Hi
after the upgrade, I still have the message
“Fatal error: Cannot use object of type WP_Error as array in E:\XAMPP\htdocs\calcio\wp-content\plugins\youtube-channel-gallery\youtube-channel-gallery.php on line 557”
I use the widget, what you mean by “values the widget” ?
I have the same problem.
Fatal error: Cannot use object of type WP_Error as array in /home/dalmagro/public_html/wp-content/plugins/youtube-channel-gallery/youtube-channel-gallery.php on line 557
Sometimes work and sometimes doesn’t
What could be wrong?
Plugin Author
PoseLab
(@javitxu123)
could anyone send me the shortcode or widget values?
Hi PoseLab
have an email address that I can send screen-shot of the configuration of the widget?
Hello PoserLab:
your plugin “youtube gallery” is great but the problem is… in the menu: FEED • PLAYER • THUMBNAILS • LINKS… if you press any links, show this error: “404 (Page Not Found) Error ” i have the last version of WP and the YOUTUBEGALLERY.. thanks please help
Hi PoseLab,
There are couple users reported the same error through WP Bug Tracker plugin.
This time it is in file youtube-channel-gallery.php.
My recommendation is each time you are trying to get ‘body’ from $video_result, check if it is is_wp_error().
Regards,
Vasyl
Hello Poselab,
I’m using your plugin with 2 youtube users.
The one linked to my account works ok but the other sometimes work and sometimes It doesn’t.
I’m using it in two different areas by a widget and a shortcode. None of these works properly.
I got a lot of errors in line 557
[Youtube_Channel_Gallery user=”webfutbolparatodos” videowidth=”580″ ratio=”16×9″ theme=”dark” color=”red” autoplay=”0″ rel=”1″ showinfo=”1″ maxitems=”18″ thumbwidth=”183″ thumbratio=”16×9″ thumbcolumns=”3″ title=”1″ cache=”0″ description=”0″ thumbnail_alignment=”top” descriptionwordsnumber=”0″]
This is my shortcode,
I notice this problem is happening recently.
Thanks