I started a site on a new PHP 5.4 box and got a few errors, one of which is this:
[30-Apr-2013 00:16:37 UTC] PHP Fatal error: Call-time pass-by-reference has been removed in /herp/derp.com/web/content/wp-content/plugins/latest-custom-post-type-updates/index.php on line 209
Looking at line 209:
if($instance['randomize']) shuffle( &$posts);
Then reading this:
… results in this:
if($instance['randomize']) shuffle( $posts);
- The topic ‘PHP 5.4: Call-time pass-by-reference error’ is closed to new replies.