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.php
on line 649.
This can easily be fixed. And here is how. 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.
Thank you very much! <3 ❤️
Hi, my name is Jan. I am not a hacker, coder, developer or guru. I am merely an application manager / systems administrator, doing my daily thing at Embrace – The Human Cloud. In the past I worked at CLDIN (CLouDINfra) and Vevida. With over 20 years of experience, my specialties include Windows Server, IIS, Linux (CentOS, Debian), security, PHP, websites & optimization. I blog at https://www.saotn.org.