WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Fatal error: Cannot use object of type WP_Error as array in E:\xampp\htdocs\demo

[Resolved] Fatal error: Cannot use object of type WP_Error as array in E:\xampp\htdocs\demo

  • dedepress
    Member

    @dedepress

    Fatal error: Cannot use object of type WP_Error as array in E:\xampp\htdocs\demo\wp-content\plugins\video-thumbnails\php\providers\class-youtube-thumbnails.php on line 50

    please fix this problem, just use is_wp_error() function.

    if (!is_wp_error($response) && $response['response']['code'] == '200' ) {

    http://wordpress.org/plugins/video-thumbnails/

Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] Fatal error: Cannot use object of type WP_Error as array in E:\xampp\htdocs\demo’ is closed to new replies.