How to fix PHP Call-time pass-by-reference has been removed in errors. The following PHP fix goes for nearly all PHP Call-time pass-by-reference errors: The WordPress plugin In Over Your Archives is a plugin to display your archive page in a nice way, just like on inoveryourhead.net. The plugin hasn’t been updated in quite some time and breaks with PHP version 5.4:

Fatal error: Call-time pass-by-reference has been removed in plugins\in-over-your-archives\in_over_your_archives.phpon line 649.

This can easily be fixed. Open up the file in-over-your-archives\in-over-your-archives.php and look up line 649. It is:

sort(&$results);

Change this line to

sort($results);

and the plugin will function with PHP 5.4.

This may interest you:   A plea for WordPress plugin developers to stop supporting legacy PHP versions