• Dave

    (@daveeksfilesnet)


    Downloaded your plugin today (v2.51) and installed it. Works like a champ when I’m using PHP 5.2, but I get a number of error messages if I switch my site to 5.4 (my hosting provider is forcing everyone to 5.4 in the next few months). On the page that displays my feeds, I get this:

    Warning: Illegal string offset ‘feedslug’ in /homepages/16/d195552211/htdocs/start/wp-content/plugins/wp-rss-multi-importer/inc/rss_feed.php on line 25

    When I attempt to log out of my site, I get quite a few error messages:

    Warning: Illegal string offset ‘feedslug’ in /homepages/16/d195552211/htdocs/start/wp-content/plugins/wp-rss-multi-importer/inc/rss_feed.php on line 25

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/16/d195552211/htdocs/start/wp-content/plugins/wp-rss-multi-importer/inc/rss_feed.php:25) in /homepages/16/d195552211/htdocs/start/wp-login.php on line 362

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/16/d195552211/htdocs/start/wp-content/plugins/wp-rss-multi-importer/inc/rss_feed.php:25) in /homepages/16/d195552211/htdocs/start/wp-login.php on line 374

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/16/d195552211/htdocs/start/wp-content/plugins/wp-rss-multi-importer/inc/rss_feed.php:25) in /homepages/16/d195552211/htdocs/start/wp-includes/pluggable.php on line 697

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/16/d195552211/htdocs/start/wp-content/plugins/wp-rss-multi-importer/inc/rss_feed.php:25) in /homepages/16/d195552211/htdocs/start/wp-includes/pluggable.php on line 698

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/16/d195552211/htdocs/start/wp-content/plugins/wp-rss-multi-importer/inc/rss_feed.php:25) in /homepages/16/d195552211/htdocs/start/wp-includes/pluggable.php on line 699

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/16/d195552211/htdocs/start/wp-content/plugins/wp-rss-multi-importer/inc/rss_feed.php:25) in /homepages/16/d195552211/htdocs/start/wp-includes/pluggable.php on line 700

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/16/d195552211/htdocs/start/wp-content/plugins/wp-rss-multi-importer/inc/rss_feed.php:25) in /homepages/16/d195552211/htdocs/start/wp-includes/pluggable.php on line 701

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/16/d195552211/htdocs/start/wp-content/plugins/wp-rss-multi-importer/inc/rss_feed.php:25) in /homepages/16/d195552211/htdocs/start/wp-includes/pluggable.php on line 702

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/16/d195552211/htdocs/start/wp-content/plugins/wp-rss-multi-importer/inc/rss_feed.php:25) in /homepages/16/d195552211/htdocs/start/wp-includes/pluggable.php on line 705

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/16/d195552211/htdocs/start/wp-content/plugins/wp-rss-multi-importer/inc/rss_feed.php:25) in /homepages/16/d195552211/htdocs/start/wp-includes/pluggable.php on line 706

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/16/d195552211/htdocs/start/wp-content/plugins/wp-rss-multi-importer/inc/rss_feed.php:25) in /homepages/16/d195552211/htdocs/start/wp-includes/pluggable.php on line 707

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/16/d195552211/htdocs/start/wp-content/plugins/wp-rss-multi-importer/inc/rss_feed.php:25) in /homepages/16/d195552211/htdocs/start/wp-includes/pluggable.php on line 708

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/16/d195552211/htdocs/start/wp-content/plugins/wp-rss-multi-importer/inc/rss_feed.php:25) in /homepages/16/d195552211/htdocs/start/wp-includes/pluggable.php on line 711

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/16/d195552211/htdocs/start/wp-content/plugins/wp-rss-multi-importer/inc/rss_feed.php:25) in /homepages/16/d195552211/htdocs/start/wp-includes/pluggable.php on line 712

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/16/d195552211/htdocs/start/wp-content/plugins/wp-rss-multi-importer/inc/rss_feed.php:25) in /homepages/16/d195552211/htdocs/start/wp-includes/pluggable.php on line 713

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/16/d195552211/htdocs/start/wp-content/plugins/wp-rss-multi-importer/inc/rss_feed.php:25) in /homepages/16/d195552211/htdocs/start/wp-includes/pluggable.php on line 714

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/16/d195552211/htdocs/start/wp-content/plugins/wp-rss-multi-importer/inc/rss_feed.php:25) in /homepages/16/d195552211/htdocs/start/wp-includes/pluggable.php on line 881

    Thanks for a great plugin, hoping you can help me resolve this.

    Dave

    http://ww.wp.xz.cn/extend/plugins/wp-rss-multi-importer/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Allen

    (@amweiss98)

    Hi Dave
    Thanks for letting me know…php 5.4 is having problems with a !empty call. I’ll need to get 5.4 and see what is going on. If you like, go into /inc/rss_feed.php and get rid of this:

    //if (!empty($feed_options)){

    //add_feed($feed_options[‘feedslug’], ‘rssmi_feed’);

    // }

    by putting // before each line.

    Also, if you are using the RSS option, you might make sure you have slug in there…that seems to be causing the problem.

    Thread Starter Dave

    (@daveeksfilesnet)

    Okay, thanks Allen, commenting out those three lines seems to have fixed the problem. Not sure what you meant in your last sentence, though. What’s ‘slug’? I can’t find anything like that in the settings or options.

    Thanks for your help –

    Dave

    Plugin Author Allen

    (@amweiss98)

    Hi Dave
    Ok…now I’m using Php 5.4 and I’m not getting that message. the slug is simply what goes after the ?feed= here:
    http://www.mysite.com?feed=slug

    The slug is set in the Export RSS Options tab…but I just tested it and having or not having it, or even having weird characters isn’t resulting in giving me any errors. So, I’m not sure what is causing this except maybe something to do with the theme you’re using. Anyway, if you’re not using the Export RSS Options feature, commenting out those lines won’t make any difference.

    Allen

    Plugin Author Allen

    (@amweiss98)

    fyi..just saw a bunch of errors on another plugin when I’m running 5.4, so this must be related to something in the new version of php…I’ll need to see what changes they made…thanks for pointing this out.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Problems with PHP 5.4?’ is closed to new replies.