WordPress.org

Ready to get started?Download WordPress

Forums

Automatic Youtube Video Posts Plugin
Illegal string offset - PHP 5.4 (13 posts)

  1. MCM
    Member
    Posted 1 year ago #

    Warning: Illegal string offset 'attributes' in wp-content\plugins\automatic-youtube-video-posts\class\xml.php on line 377

    Installed on PHP version 5.4 it works okay 5.3

    http://wordpress.org/extend/plugins/automatic-youtube-video-posts/

  2. mpraetzel
    Member
    Plugin Author

    Posted 1 year ago #

    You're saying there is an issue with PHP 5.4 but not with PHP 5.3?

  3. MCM
    Member
    Posted 1 year ago #

    Yes, it is still occuring after I upgraded to new version both on my local install (XAMPP) and live website.

  4. mpraetzel
    Member
    Plugin Author

    Posted 1 year ago #

    What type of server is the live website?

  5. MCM
    Member
    Posted 1 year ago #

    Both using 5.4.

    The live site is with Dreamhost.

  6. nhockungfu
    Member
    Posted 1 year ago #

    I also encountered this problem when adding a new channel.
    PHP version 5.4
    More details for you:
    Warning: Illegal string offset 'attributes' in \wp-content\plugins\automatic-youtube-video-posts\class\xml.php on line 377

    Warning: Cannot modify header information - headers already sent by (output started at \wp-content\plugins\automatic-youtube-video-posts\class\xml.php:377) in \wp-includes\option.php on line 568

    Warning: Cannot modify header information - headers already sent by (output started at \wp-content\plugins\automatic-youtube-video-posts\class\xml.php:377) in \wp-includes\option.php on line 569

  7. MCM
    Member
    Posted 11 months ago #

    Please can you advise us how to fix this?

  8. Morisu
    Member
    Posted 8 months ago #

    Hello, I too am having this problem, though functionality in itself is not affected, the error logs for my client's site using this plugin averages 28MB a day! They are a high-traffic site and I need to cut the clutter this plugin is causing. The site is running on PHP v5.4.4 (for local development) and PHP v5.3.27 (for the web server). The web server is running on Debian while the local is running on MAMP (Mac). I get the same number of errors for each in the logs and I also get another Illegal string offset 'value' in [file path]/wp-content/plugins/automatic-youtube-video-posts/core/parse.php on line 264

    Any help will be appreciated!

  9. esmi
    Forum Moderator
    Posted 8 months ago #

    @Morisu: If you require assistance then, as per the Forum Welcome, please post your own topic.

  10. Morisu
    Member
    Posted 8 months ago #

    Sorry about that, I have done so. Thank you.

  11. DVDfever
    Member
    Posted 5 months ago #

    No-one solved the problem, though. If we're all having the same problem (me included), surely it's better to keep it in the same thread?

  12. stadulis66
    Member
    Posted 4 months ago #

    Hi has anybody solved this problem? The web is littered with the errors of you do a search, including some of my AB Testing
    abtesting.runtimetv.com/‎
    Warning: Illegal string offset 'value' in /home/runtime/public_html/wp-content/plugins/automatic-youtube-video-posts/class/xml.php on line 362. Warning: Illegal ...sites!

    I am sure a fix must be in the cards?

  13. walpap
    Member
    Posted 3 months ago #

    The same is happening to me, and after reloading the page it appears ok.
    I think the problem relies on the PSEUDO CRON JOBS the plugin has where it asks you to set how many hours to wait until get the videos automatically from the channel or playlist.
    Every time someone visits the site after "x" hours, the plugin tries to import new videos. Then the error appears.
    But after reloading the page evererything works well.

    But maybe im wrong.

    The author of the plugin should answer please.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.