exitstencil
Member
Posted 2 years ago #
Hi all,
I've upgraded to 2.8.1 and I'm getting this error when trying to log in to admin:
Fatal error: Call to undefined function: _deep_replace() in /home/www/XXXXXXXXXXXX/blog/wp-includes/pluggable.php on line 884
I've searched the forums and have deactivated all plugins and removed blank characters and spaces at the beginning and end of my pluggable.php and wp-config.php files, but nothing has helped.
Can anyone help me?
Thanks in advance.
exitstencil
Member
Posted 2 years ago #
by the way, line 884 in pluggable_php says:
$location = _deep_replace($strip, $location);
thanks!
chackowsky
Member
Posted 2 years ago #
Getting the same error on a clean install of 2.8.1. I've tried replacing "_deep_replace..." with "deep_replace..." but that does not help. Is it possible our hosts are using an outdated version of PHP?
chackowsky
Member
Posted 2 years ago #
I had another look. There is, in fact, no _deep_replace() function inside pluggable.php. I'll start trolling through some other likely suspects.
exitstencil
Member
Posted 2 years ago #
i've given up and downgraded to 2.7. i think i'll wait until there's a better version released...
pariahdesign
Member
Posted 2 years ago #
Same issue with a clean install of 2.8.1 beta 1 when visiting the install page for the first time.
Fatal error: Call to undefined function _deep_replace()
pariahdesign
Member
Posted 2 years ago #
Also... no tables were created in the database before the fatal error if that gives a clue to the sequence.
You didn't get a good install. Delete all the files and reupload them. Ideally, you should unzip the file on the server, rather than unzip on your computer and upload via ftp.
eliZZZa
Member
Posted 2 years ago #
hallsofmontezuma,
did just that - same error on clean install, unzipped on the server...
eliZZZa
Member
Posted 2 years ago #
Commented Line 884 of pluggable.php - everything worked, tables created, installation hasslefree. No idea about the consequences, but will test and report...
Try 2.8.1 Beta 2 to see if this makes a difference. There was a change to this after beta 1.
When I upgraded I'm encounter an error
Warning: Cannot modify header information - headers already sent by (output started at /home/friendko/public_html/xxxxx/wp-content/themes/xxxx/functions.php:2) in /home/friendko/xxxxx/wp-includes/pluggable.php on line 693
Can anyone help me?
Thanks in advance.