Title: Problems with PHP 5.4?
Last modified: August 20, 2016

---

# Problems with PHP 5.4?

 *  [Dave](https://wordpress.org/support/users/daveeksfilesnet/)
 * (@daveeksfilesnet)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/problems-with-php-54/)
 * 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://wordpress.org/extend/plugins/wp-rss-multi-importer/](http://wordpress.org/extend/plugins/wp-rss-multi-importer/)

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

 *  Plugin Author [Allen](https://wordpress.org/support/users/amweiss98/)
 * (@amweiss98)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/problems-with-php-54/#post-3253305)
 * 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](https://wordpress.org/support/users/daveeksfilesnet/)
 * (@daveeksfilesnet)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/problems-with-php-54/#post-3253323)
 * 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](https://wordpress.org/support/users/amweiss98/)
 * (@amweiss98)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/problems-with-php-54/#post-3253326)
 * 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](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](https://wordpress.org/support/users/amweiss98/)
 * (@amweiss98)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/problems-with-php-54/#post-3253329)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-rss-multi-importer_a9b8a0.svg)
 * [WP RSS Multi Importer](https://wordpress.org/plugins/wp-rss-multi-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-rss-multi-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-rss-multi-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-rss-multi-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-rss-multi-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-rss-multi-importer/reviews/)

## Tags

 * [php 5.4](https://wordpress.org/support/topic-tag/php-5-4/)

 * 4 replies
 * 2 participants
 * Last reply from: [Allen](https://wordpress.org/support/users/amweiss98/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/problems-with-php-54/#post-3253329)
 * Status: not resolved