This is an old revision of the document!
TypeError thrown call_user_func_array(): Argument #1 ($callback) must be a valid callback, non-static method AKTT::controller() cannot be called statically
This error occurs when I try to change from PHP 7.2.19 to PHP 8.1.12 while using WordPress Version 6.0 and PHP Version 8.1.12 with Theme Twenty-Fourteen.
The website and the backend are not viewable.
I changed the mapped module (and Web.Config file) back to PHP 7.2.19 and the site returned to normal.
I then installed PHP 7.4 on the server and added fast-CGI module using PHP 7.4 Fast_CGI Executable in the WordPress Site (which updated the Web.Config file to use PHP 7.4 fast-CGI script. The website using Twenty=Fourteen Theme continued to work normally on the front and back end.
Then, I tried to update from Twenty-Fourteen Site from WordPress 6.0 to WordPress 6.1 and got a fatal error during the automatic update.
fatal error after update to wp 6.1 – function wp_get_attachment_thumb_file( $post_id = 0 )