WordPress.org

Ready to get started?Download WordPress

Forums

Video Thumbnails
[resolved] Fatal error: Cannot use object of type WP_Error as array in E:\xampp\htdocs\demo (9 posts)

  1. dedepress
    Member
    Posted 8 months ago #

    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/

  2. Sutherland Boswell
    Member
    Plugin Author

    Posted 8 months ago #

    Added this fix, will be out in the next update.

  3. Elvis
    Member
    Posted 8 months ago #

    I'm having the same issue, when will the next update be out? Many thanks.

  4. Sutherland Boswell
    Member
    Plugin Author

    Posted 8 months ago #

    I'll try to have it out today

  5. Elvis
    Member
    Posted 8 months ago #

    Wow, that was fast :)

  6. Elvis
    Member
    Posted 8 months ago #

    I just updated to version 2.0.6 and now I'm having this issue when I run the debug options:

    Error retrieving video information from the URL http://blip.tv/oembed?url=http://blip.tv/cranetv/illustrator-katie-scott-6617917 using wp_remote_get()

    Please advice

  7. Elvis
    Member
    Posted 8 months ago #

    This describes the issue best:

    Test Saving to Media Library

    This test checks for issues with the process of saving a remote thumbnail to your local media library.

    ✖ Error retrieving a thumbnail from the URL http://img.youtube.com/vi/dMH0bHeiRNg/0.jpg using wp_remote_get()
    If opening that URL in your web browser returns anything else than an error page, the problem may be related to your web server and might be something your host administrator can solve.
    Details: name lookup timed out

  8. Sutherland Boswell
    Member
    Plugin Author

    Posted 8 months ago #

    @Elvis please start a new thread with your specific issues and include as much information about your site as possible (host, PHP version, anything else you can think of)

  9. Elvis
    Member
    Posted 8 months ago #

    Thanks, here it is

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.