Sysadmins of the North
Don't forget to share this post!

WordPress plugin “In Over Your Archives” Call-time pass-by-reference fix for PHP 5.4

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.

About the Author Jan Reilink

My name is Jan. I am not a hacker, coder, developer, programmer or guru. I am merely a system administrator, doing my daily thing at Vevida in the Netherlands. With over 15 years of experience, my specialties include Windows Server, IIS, Linux (CentOS, Debian), security, PHP, WordPress, websites & optimization. Want to support me and donate? Use this link: https://paypal.me/jreilink.

follow me on:

Leave a Comment:

Skip to content NYDi Xo g F