Fatal error: Call to undefined function wp_raise_memory_limit()

wordpress

#1

I got this error message when I tried to access my Wordpress dashboard after installing an automatic Wordpress update. The full message is:

Fatal error: Call to undefined function wp_raise_memory_limit() in (website address)/wp-admin/admin.php on line 141

My website still shows up normally; I just can’t access the dashboard. I tried clearing the cache and manually re-installing the update in FTP, but it didn’t work. Stupidly, I did not back up my website before updating… Yes I know very well I should have, but I can’t go back and do it now. Is there any way Dreamhost can help with this?

EDIT: Nevermind! I tried downgrading to the previous version of Wordpress, and that solved the problem. Everything is working now.