• Resolved geoffreyweglarz

    (@geoffreyweglarz)


    Error with Vimeo Link

    https://vimeo.com/55547171

    [ Moderator note: please wrap code in backticks or use the code button. ]

    Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 1: parser error : Start tag expected, '<' not found in /data/9/0/148/7/637496/user/650156/htdocs/fluid-productions.net/home/wp-content/plugins/video-thumbnails/php/providers/class-vimeo-thumbnails.php on line 94
    
    Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: 403 Forbidden in /data/9/0/148/7/637496/user/650156/htdocs/fluid-productions.net/home/wp-content/plugins/video-thumbnails/php/providers/class-vimeo-thumbnails.php on line 94
    
    Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /data/9/0/148/7/637496/user/650156/htdocs/fluid-productions.net/home/wp-content/plugins/video-thumbnails/php/providers/class-vimeo-thumbnails.php on line 94
    
    Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /data/9/0/148/7/637496/user/650156/htdocs/fluid-productions.net/home/wp-content/plugins/video-thumbnails/php/providers/class-vimeo-thumbnails.php:94 Stack trace: #0 /data/9/0/148/7/637496/user/650156/htdocs/fluid-productions.net/home/wp-content/plugins/video-thumbnails/php/providers/class-vimeo-thumbnails.php(94): SimpleXMLElement->__construct('403 Forbidden') #1 /data/9/0/148/7/637496/user/650156/htdocs/fluid-productions.net/home/wp-content/plugins/video-thumbnails/video-thumbnails.php(203): Vimeo_Thumbnails->get_thumbnail_url('55547171') #2 /data/9/0/148/7/637496/user/650156/htdocs/fluid-productions.net/home/wp-content/plugins/video-thumbnails/video-thumbnails.php(239): Video_Thumbnails->get_first_thumbnail_url(' http://vimeo....') #3 /data/9/0/148/7/637496/user/650156/htdocs/fluid-productions.net/home/wp-content/plugins/video-thumbnails/video-thumbnails.php(483): Video_Thumbnails->get_video_thumbnail(14) #4 /data/9/0/148/7/ in /data/9/0/148/7/637496/user/650156/htdocs/fluid-productions.net/home/wp-content/plugins/video-thumbnails/php/providers/class-vimeo-thumbnails.php on line 94

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

Viewing 1 replies (of 1 total)
  • Plugin Author Sutherland Boswell

    (@sutherlandboswell)

    The video you’ve linked has embedding restrictions, which means the oEmbed method used to retrieve the thumbnail is creating the error. An easy fix (without having to enable embedding on all websites) is to go to the provider settings and follow the instructions to register an app with Vimeo and enter the API key info.

    Thanks for pointing out the issue, it should give some user-friendly information in the error message. I’ll be sure to fix that in a future version!

Viewing 1 replies (of 1 total)

The topic ‘Error / WP 3.8.1’ is closed to new replies.