Jump to content


These Forums Are Now Read-Only


For TubePress support, please post a question here or open a support ticket and we will be glad to assist.


Photo

Error when embed code contains a hyphen


  • Please log in to reply
No replies to this topic

#1 Andy Spero

Andy Spero

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 10 December 2010 - 01:07 PM

We're developing a site and using TubePress to link to YouTube videos (obviously). It has worked very well, except with one video.

As strange as it is, the plugin seems to fails when there is a hyphen in the embed code; at least, that's what I think it is. The development site is password-protected, but I've been able to replicate it at http://speroconsulti...bout/tubepress/. The embed code for the video is "tsXUGr-ER3A"

The error log on the development site shows the following entry: PHP Fatal error: Call to a member function getId() on a non-object in /home/..../public_html/wp-content/plugins/tubepress/classes/org/tubepress/single/SimpleSingleVideo.class.php on line 106.

Is there a fix for this problem?

Update: upon further investigation, I think it involves the fact that he has copyrighted music in the video, rather than the hyphen.

Thanks.