{"id":16594275,"date":"2023-03-25T14:48:57","date_gmt":"2023-03-25T14:48:57","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/fatal-error-with-5-1-7-cannot-login-or-reactivate-2\/"},"modified":"2023-03-25T15:17:19","modified_gmt":"2023-03-25T15:17:19","slug":"fatal-error-with-5-1-7-cannot-login-or-reactivate-2","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/fatal-error-with-5-1-7-cannot-login-or-reactivate-2\/","title":{"rendered":"Fatal Error with 5.1.7: cannot login or reactivate"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi, this happens on two nearly identical sites still based on WP 5.6. I got a fatal eror trying to open wp-login. After renaming the dirname I could log in. I checked that it is really version 5.1.7. Trying to reactivate it is impossible because of the following fatal error:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Fatal error: Uncaught mysqli_sql_exception<\/strong>: Table &#8216;abcdefg.prefix_aiowps_audit_log&#8217; doesn&#8217;t exist in \/is\/htdocs\/xxxxxxxxxxxxxxxxxx\/www\/wp-includes\/wp-db.php:2056 Stack trace: #0 \/is\/htdocs\/xxxxxxxxxxxxxxxxxx\/www\/wp-includes\/wp-db.php(2056): mysqli_query(Object(mysqli), &#8216;DESCRIBE prefix_\u2026&#8217;) #1 \/is\/htdocs\/xxxxxxxxxxxxxxxxxx\/www\/wp-includes\/wp-db.php(1945): wpdb-&gt;<em>do_query(&#8216;DESCRIBE prefix<\/em>\u2026&#8217;) #2 \/is\/htdocs\/xxxxxxxxxxxxxxxxxx\/www\/wp-includes\/wp-db.php(2696): wpdb-&gt;query(&#8216;DESCRIBE prefix_\u2026&#8217;) #3 \/is\/htdocs\/xxxxxxxxxxxxxxxxxx\/www\/wp-admin\/includes\/upgrade.php(2795): wpdb-&gt;get_results(&#8216;DESCRIBE prefix_\u2026&#8217;) #4 \/is\/htdocs\/xxxxxxxxxxxxxxxxxx\/www\/wp-content\/plugins\/all-in-one-wp-security-and-firewall\/classes\/wp-security-installer.php(182): dbDelta(Array) #5 \/is\/htdocs\/xxxxxxxxxxxxxxxxxx\/www\/wp-content\/plugins\/all-in-one-wp-security-and-firewall\/classes\/wp-security-installer.php(27): AIOWPSecurity_Installer::create_db_tables() #6 \/is\/htdocs\/xxxxxxxxxxxxxxxxxx\/www\/wp-content\/plugins\/all-in-one-wp-security-and-firewall\/wp-security-core.php(263): AIOWPSecurity_Installer::run_installer(&#8221;) #7 \/is\/htdocs\/xxxxxxxxxxxxxxxxxx\/www\/wp-includes\/class-wp-hook.php(287): AIO_WP_Security::activate_handler(&#8221;) #8 \/is\/htdocs\/xxxxxxxxxxxxxxxxxx\/www\/wp-includes\/class-wp-hook.php(311): WP_Hook-&gt;apply_filters(&#8221;, Array) #9 \/is\/htdocs\/xxxxxxxxxxxxxxxxxx\/www\/wp-includes\/plugin.php(484): WP_Hook-&gt;do_action(Array) #10 \/is\/htdocs\/xxxxxxxxxxxxxxxxxx\/www\/wp-admin\/plugins.php(193): do_action(&#8216;activate_all-in\u2026&#8217;) #11 {main} thrown in&nbsp;<strong>\/is\/htdocs\/xxxxxxxxxxxxxxxxxx\/www\/wp-includes\/wp-db.php&nbsp;on line&nbsp;2056<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Edit: 5.15 is working<\/p>\n","protected":false},"template":"","class_list":["post-16594275","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16594275","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16594275\/revisions"}],"predecessor-version":[{"id":16594309,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16594275\/revisions\/16594309"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=16594275"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}