Support » Plugin: Automatic Youtube Video Posts Plugin » [Plugin: Automatic Youtube Video Posts Plugin] Illegal offset type in video.php

Viewing 13 replies - 1 through 13 (of 13 total)
  • and during import:

    PHP Warning: curl_setopt() [<a href='function.curl-setopt'>function.curl-setopt</a>]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /httpdocs/wp-content/plugins/automatic-youtube-video-posts/class/curl.php(272) : eval()'d code on line 1, referer: /wp-admin/admin.php?page=ayvpp-import-videos

    Also it seems to create thumbnails even though my theme supports thumbs and has featured thumbs enabled

    <div class="avatar alignleft"><a href="/protostar-corporation-devoile-son-programme-de-logement-pour-nexus/" title="Protostar Corporation Dévoile son programme de Logement pour Nexus"><img style="width: 106px; height: 106px;" src="/wp-content/plugins/automatic-youtube-video-posts/tools/timthumb.php?src=" alt="" title=""></a></div>

    Plugin Author ternstyle


    The second issue as stated in the error requires you to either turn off safe_mode or unset your open_basedir. These are PHP configurations.

    The first issue shouldn’t take place if your theme supports thumbnails.

    Your third, you don’t want to the thumbnails for videos displayed?

    I have the same illegal offset error. I have a good theme, it shoudl support thumbnails, since I already have plenty on my site. Is there something I can do to keep this error from happening?

    Thank You

    Plugin Author ternstyle


    Change lines 31 and 32 of /core/video.php from:


    to this:


    Ok, no more thumbnail no more error.
    This only removes the thumbnail on the Posts List yes?

    My theme does support thumbnails since the featured image box is visible on the post screen. It’s too bad cuz your plugin works great and it seems to be one of a kind…thank you!

    Plugin Author ternstyle


    It won’t remove the thumbnail. It basically disables the plugin’s automatic override of the thumbnail.

    Thanks for the Thumbnail “fix” much appreciated.


    Plugin Author ternstyle


    You’re welcome.

    Thank you Matthew! Your plugin rocks! As soon I get my first google adsense payment I’ll send you a donation 🙂
    best wishes!

    Plugin Author ternstyle


    Thanks Mavipe.

    I am having the same issue as above:

    Warning: Illegal offset type in /home/mysitename/public_html/wp-content/plugins/automatic-youtube-video-posts/core/video.php on line 72

    Any solution to this?

    When I disabled the thumnail lines 31 and 32, all the video thumbnails are gone, which is not what I want, but the warning message does go away. So have anyone figured out a fix to this?

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘[Plugin: Automatic Youtube Video Posts Plugin] Illegal offset type in video.php’ is closed to new replies.