Title: PHP Fatal error
Last modified: August 30, 2016

---

# PHP Fatal error

 *  [Mustafa](https://wordpress.org/support/users/mustihi/)
 * (@mustihi)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/php-fatal-error-66/)
 * Hello,
 * I get the error:
 * [Thu Oct 29 00:56:41.467820 2015] [:error] [pid 23185] [client 207.46.13.177:
   38201] PHP Fatal error: Cannot use object of type WP_Error as array in /home/
   web/wp-content/plugins/youtube-channel-gallery/youtube-channel-gallery.php on
   line 334
 * [https://wordpress.org/plugins/youtube-channel-gallery/](https://wordpress.org/plugins/youtube-channel-gallery/)

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Author [PoseLab](https://wordpress.org/support/users/javitxu123/)
 * (@javitxu123)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/php-fatal-error-66/#post-6695730)
 * Send me a url and shortcode or widget data
 *  [dpbraun](https://wordpress.org/support/users/dpbraun/)
 * (@dpbraun)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/php-fatal-error-66/#post-6695733)
 * Hello, I’m getting a similar problem, and it was found by a scan of my site by
   securi.
 * The reported error is this:
    Site error detected. Details: [http://sucuri.net/malware/php-error-fatal-error?v6](http://sucuri.net/malware/php-error-fatal-error?v6)
   <b>Fatal error</b>: Cannot use object of type WP_Error as array in <b>/public_html/
   tdyleader.com/wp-content/plugins/youtube-channel-gallery/youtube-channel-gallery.
   php</b> on line <b>334</b><br /
 * PoseLab, is there anything you need from me to debug this?
 *  [dpbraun](https://wordpress.org/support/users/dpbraun/)
 * (@dpbraun)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/php-fatal-error-66/#post-6695735)
 * Here’s a post that might help:
 * [https://wordpress.org/support/topic/fatal-error-cannot-use-object-of-type-wp_error-as-array-4?replies=15](https://wordpress.org/support/topic/fatal-error-cannot-use-object-of-type-wp_error-as-array-4?replies=15)
 * Dave
 *  Plugin Author [PoseLab](https://wordpress.org/support/users/javitxu123/)
 * (@javitxu123)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/php-fatal-error-66/#post-6695736)
 * Hi dpbraun
 * Send me a url and shortcode or widget data
 *  [dpbraun](https://wordpress.org/support/users/dpbraun/)
 * (@dpbraun)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/php-fatal-error-66/#post-6695740)
 * The page it says it happens on is
    [http://tdyleader.com/family/](http://tdyleader.com/family/)
 * I have it in a widget.
 * Google advises against posting API keys and such publicly. Can I get them to 
   you another way?
 * Dave
 *  Plugin Author [PoseLab](https://wordpress.org/support/users/javitxu123/)
 * (@javitxu123)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/php-fatal-error-66/#post-6695741)
 * Hi dpbraun
    My email is [javier@poselab.com](https://wordpress.org/support/topic/php-fatal-error-66/javier@poselab.com?output_format=md)
   but I do not need your API Key. Could you try to assign another post to that 
   section in order to give it more than only one? I do not see any difference between
   this section or Leadership section. Are those index of posts created by a plugin
   or a Theme? What plugin or theme?
 *  [dpbraun](https://wordpress.org/support/users/dpbraun/)
 * (@dpbraun)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/php-fatal-error-66/#post-6695744)
 * Hi Javier,
 * That page is a category of posts with the category Family, so it’s rendered by
   the theme.
 * My theme has alot of custom CSS but it’s based on iThemes Builder Summit.
 * I added another post to that category, so it’s displaying two posts on that page.
   And the problem went away!
 *  Plugin Author [PoseLab](https://wordpress.org/support/users/javitxu123/)
 * (@javitxu123)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/php-fatal-error-66/#post-6695746)
 * Hi dpbraun
    If you could send me your theme by email, I would like to check it
   in order to find the problem. Thanks in advance.
 *  [dpbraun](https://wordpress.org/support/users/dpbraun/)
 * (@dpbraun)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/php-fatal-error-66/#post-6695752)
 * Hi Javier,
 * Sent.
 * Dave
 *  [crestedbuttecomputers](https://wordpress.org/support/users/crestedbuttecomputers/)
 * (@crestedbuttecomputers)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/php-fatal-error-66/#post-6695790)
 * Getting the same error – Disabled the plugin until you get it resolved.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘PHP Fatal error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/youtube-channel-gallery_f11a1f.svg)
 * [Youtube Channel Gallery](https://wordpress.org/plugins/youtube-channel-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/youtube-channel-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/youtube-channel-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/youtube-channel-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/youtube-channel-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/youtube-channel-gallery/reviews/)

 * 10 replies
 * 4 participants
 * Last reply from: [crestedbuttecomputers](https://wordpress.org/support/users/crestedbuttecomputers/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/php-fatal-error-66/#post-6695790)
 * Status: not resolved