Moderator
t-p
(@t-p)
“Call to undefined function” is generally indicative of incomplete update. So, try re-uploading WordPress, and this time, upload ALL the files. Even those in the WordPress root directory.
Do a manual update via FTP instead: http://codex.wordpress.org/Updating_WordPress#Manual_Update
Hi Tara,
Many thanks for your reply. I had already downloaded a fresh copy of ver. 4.5.3 twice, unzipped it, deleted the directory on the server, recreated a wp-config.php file (using the database settings from my host, 1and1, and secret keys, using the secret key generator from the wordpress site. I basically reinstalled the whole thing from scratch, resulting in exactly the same error. In desperation, I then used an older version of wordpress (ver. 3.8) that I had saved from the last site I created in 2014. Working through the same installation procedure, I ended up with exactly the same error message.
I have eventually got myself up and running by not creating a wp-config file and allowing the set up process to do it for me in my browser – and, once I was in, updating the version manually, as you suggested.
However, while the set up procedure created its own secret keys, it has left me with an extremely messy wp-config file, with random parts of the secret keys appearing in the body of the file.
I tried to tidy it up but, lo and behold, I ended up with not only part of the secret keys showing up in the browser window, but also with the same fatal error message.
I’ve reverted to a back-up copy of the auto-generated wp-config file and, to all intents and purposes, the site is working, but I am concerned that the secret keys may not provide the protection that they’re supposed to like this.
Moderator
t-p
(@t-p)
the site is working
Glad to know it 🙂
but I am concerned that the secret keys may not provide the protection that they’re supposed to like this.
just make secret keys long, random and complicated.
You can use the online generator:
https://api.wordpress.org/secret-key/1.1/salt/
You can change these at any point in time to invalidate all existing cookies. This does mean that all users will have to login again.