Title: [Plugin: FeedWordPress] Feedwordpress &amp; PHP 5.4
Last modified: August 20, 2016

---

# [Plugin: FeedWordPress] Feedwordpress & PHP 5.4

 *  Resolved [Gestroud](https://wordpress.org/support/users/gestroud/)
 * (@gestroud)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-feedwordpress-feedwordpress-php-54/)
 * Hello,
 * Web host recently updated to PHP 5.4 and I’m getting the following errors with
   FeedwordPress. 3 sites are not accessible on home page and admin.
 * Fatal error: Call-time pass-by-reference has been removed; If you would like 
   to pass argument by reference, modify the declaration of do_action(). in xxxxxx/
   wp-content/plugins/feedwordpress/admin-ui.php on line 53
 * Thank you
 * [http://wordpress.org/extend/plugins/feedwordpress/](http://wordpress.org/extend/plugins/feedwordpress/)

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

 *  [ScruffyDan](https://wordpress.org/support/users/dmoutal/)
 * (@dmoutal)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-feedwordpress-feedwordpress-php-54/#post-2877921)
 * Did you ever figure out a solution? I am having the same issue
 *  Thread Starter [Gestroud](https://wordpress.org/support/users/gestroud/)
 * (@gestroud)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-feedwordpress-feedwordpress-php-54/#post-2877922)
 * Yep: [http://wordpress.org/support/topic/feedwordpress-and-do_action?replies=3](http://wordpress.org/support/topic/feedwordpress-and-do_action?replies=3)
 *  [ScruffyDan](https://wordpress.org/support/users/dmoutal/)
 * (@dmoutal)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-feedwordpress-feedwordpress-php-54/#post-2877923)
 * Thanks! I was hoping that you had managed to get feed wordpress working with 
   php5.4 but your solution works just fine
 *  [deleuzer](https://wordpress.org/support/users/deleuzer/)
 * (@deleuzer)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-feedwordpress-feedwordpress-php-54/#post-2877941)
 * I don’t understand why this is marked resolved. The issue is clearly unresolved
   and will not be resolved until this plugin works on php5.4, the fact that a fatal
   error is being thrown means that this method of reference has already been depreciated
   in php5.3.
 * I encourage the developer to make the necessary changes to this plugin to bring
   it up to date with php5.3.
 * thanks!
 *  [Alabala portocala](https://wordpress.org/support/users/zcytunoy/)
 * (@zcytunoy)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-feedwordpress-feedwordpress-php-54/#post-2877956)
 * If you upgraded to PHP 5.4 and you are using the Feedwordpress plugin for WordPress,
   you may encounter error code 500 and fatal errors on your blog, rendering it 
   unreachable with the following errors in the error log:
 * PHP Fatal error: Call-time pass-by-reference has been removed; If you would like
   to pass argument by reference, modify the declaration of do_action()
 * Fixing the problem is easy, you need to do 3 small edits in 2 files:
 * Go to your wp-content/plugins/feedwordpress folder
    open the file admin-ui.php
 * Find the line:
 * do_action($this->dispatch.’_save’, &$post, &$this);
 * Replace it with:
 * do_action($this->dispatch.’_save’, $post, $this);
 * Find the line:
 * do_action($this->dispatch.’_post’, &$post, &$this);
 * Replace it with:
 * do_action($this->dispatch.’_post’, $post, $this);
 * Save and upload admin-ui.php
 * Now, open the file syndicatedlink.class.php
 * Find:
 *  $posts = apply_filters(
    ‘syndicated_feed_items’, $this->simplepie->get_items(),&
   $this );
 * Replace with:
 *  $posts = apply_filters(
    ‘syndicated_feed_items’, $this->simplepie->get_items(),
   $this );
 * Save and upload the file.
 * The errors now should be gone and your blog will start working again.
 *  Thread Starter [Gestroud](https://wordpress.org/support/users/gestroud/)
 * (@gestroud)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-feedwordpress-feedwordpress-php-54/#post-2877964)
 * I’ll have to give this a shot. Thanks for taking the time to look into this, 
   find a solution and share it.
 *  Plugin Author [C. Johnson](https://wordpress.org/support/users/radgeek/)
 * (@radgeek)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-feedwordpress-feedwordpress-php-54/#post-2877968)
 * [@zcytunoy](https://wordpress.org/support/users/zcytunoy/), thanks for supplying
   the explanation and work-around fix on this issue.
 * Y’all may be glad to know that a similar series of compatibility fixes has been
   rolled into the most recent release of FeedWordPress, v. 2012.1212, released 
   today and now available at:
 * [http://wordpress.org/extend/plugins/feedwordpress/](http://wordpress.org/extend/plugins/feedwordpress/)
 * Hope this helps!

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

The topic ‘[Plugin: FeedWordPress] Feedwordpress & PHP 5.4’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/feedwordpress_a6a79a.svg)
 * [FeedWordPress](https://wordpress.org/plugins/feedwordpress/)
 * [Support Threads](https://wordpress.org/support/plugin/feedwordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/feedwordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/feedwordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/feedwordpress/reviews/)

## Tags

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

 * 7 replies
 * 5 participants
 * Last reply from: [C. Johnson](https://wordpress.org/support/users/radgeek/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-feedwordpress-feedwordpress-php-54/#post-2877968)
 * Status: resolved