I had similar problem. I didn’t have access to frontpage and wp-admin also.
I got ‘ Fatal error: Call to undefined function wp hash() …. /autoptimizemain.php’ on line 135.
Also, didn’t receive any email in my box.
I logged in to CPanel and than manually removed autoptimize folders in wp-plugin and cash folders. After that I got another error and needed to put one line in capabilites.php
At the moment, my page is running without autoptimize plugin. Don’t know what to do, but I don’t want to my page crash again
wp_hash is a standard WordPress function shody1 (see https://developer.wordpress.org/reference/functions/wp_hash/), if it is marked as “undefined” and if you have to make changes to a core WordPress file to get things going, then I’m afraid you would be better off doing a re-install or your site? :-/
@hometutor – the site is still functioning but i cannot login to the back end. 🙁
Via FTP or your host’s file manager, navigate to the wp-contents folder (directory)
Via FTP or your host’s file manager, rename the folder “plugins” to “plugins.hold”
Login to your WordPress administration plugins page (/wp-admin/plugins.php) – this will disable any plugin that is “missing”.
Via FTP or your host’s file manager, rename “plugins.hold” back to “plugins
(then I also delete db cache, advance cache, and w3 cache)
@sterndata thank you.
My friend figured out something with the website. He went back to last weeks backup, removed the plugins and then we reinstalled the ones that were needed for the site. I will mark this resolved.
Thank you all for your help.