AM having the same problem, some help mods ?
http://www.trollingwithlogic.com
As per the Forum Welcome, please post your own topic.
Hello frndz…
did anyone find any solution for this…!!! I am stuck
Mine seemed to fix itself. Is now working.
Hi MacDonald…
What changes you did… please let me know…
Poselab, can you tell me how to fix this error?
It is always the same error.
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 it works just fine and sometimes it doesn’t work at all.
I have the cache activated with “24 hs” and showing 3 thumbnails with 16×9
I had the same problem. I deactivated (unticked) cache in widget and saved. Moment later I activated cache again and it works for now, not sure about the actual error.
maybe the issue in timeout, add this script on plugins youtube-channel-gallery.php:
function wpdocs_extend_http_response_timeout( $timeout ) {
return 30; // seconds default wordpress is 5
}
add_filter( 'http_response_timeout', 'wpdocs_http_response_timeout' );
this is work for me
hope this help…
Hi, I solved this problem talking to my hosting provider, who had locked out the IP v6, I found the problem by modifying the function “get_rss_data” at line 852 of file “youtube-channel-gallery.php” change the line “return ($ videos_result)” with “var_dum ($ videos_result),” and gave me the following message “Failed to connect to 2607: f8b0: 4002: c07 :: 76: Network is unreachable”
It was there that I found that the error was ageno the code, and this is my recommendation to you, check that your server has enabled IP v6 Connection
I hope I can help!
I am experiencing the issues too, anyone has found why is happening with this plugin?
For the moment, you can edit youtube-channel-gallery.php to avoid the problem temporarily:
$transientId = 'ytc-' .md5( $ytchag_feed . $ytchag_user . $ytchag_maxitems );
$videos_result = $this->get_rss_data ( $ytchag_cache, $transientId, $ytchag_rss_url, $ytchag_cache_time );
if(is_wp_error($videos_result)) return; // Adding this line
$rss = simplexml_load_string( $videos_result['body'] );
I’m having the same problem – is this something that will be fixed in a plugin update?
Meanwhile, I’ll add the line of code eried suggests and see how that goes.
I think this is issue of timeout
Fixed by doing this
you can change it in wp-includes/class-http.php
line number around 72
// By increasing http_request_timeout from 15 to 180
'timeout' => apply_filters( 'http_request_timeout', 180),
I am having an issue when attempting to log into my dashboard! And I can not update more change any information from my account.
Can anyone help me with this issue?
Error Message:
Fatal error: Cannot use object of type WP_Error as array in /home/content/p3nexnas05_data02/77/2130877/html/wp-content/plugins/spatialtree/common/api.php on line 116
http://www.bawnmedia.com/wp-admin
http://www.bawnmedia.com
I am too having the same problem.
The page loads too slow and ultimately ends up with an error.
Fatal error: Cannot use object of type WP_Error as array in /home/rabindra/public_html/wp-content/plugins/youtube-channel-gallery/youtube-channel-gallery.php on line 556
Mine shows line 556 though.