Recently had a problem with a client getting an error message:
Warning: array_merge(): Argument #2 is not an array in /home/anotherfolder/public_html/example.org/wp-includes/load.php on line 63
It appeared suddenly and changing the wp-config.php file from
ini_set(‘error_reporting’, E_ALL );
had no affect.
Then I found this article by Mark Root-Wiley that fixed the issue.
Fix: Rename php.ini to php.ini.BCK
php.ini file in the “root” directory of the site fixed the issue.
php.iniis a special configuration file for servers. I wanted to test removing it without risking problems I couldn’t undo, so I simply renamed it to
php.ini.BCK (short for “backup”). I then refreshed the page, and *poof*, my errors disappeared. Happy client! If that change broke the site, I could have just named the file back to
php.ini and looked for a different fix.