Hi Robert,
Just to let you know that I had the same issue. I was coming to report the problem when I saw this thread and the solution offered. Simply deactivating and reactivating the plugin seems to have worked for me as well. So many thanks to Endymion00 for posting the fix π
I’m not sure why it would be related to permissions since I’m the only admin on the site; however, the info from my php error log leads me to suspect you may be right. Here are some of the entries in my error log — I hope this can help you!
WordPress database error Table wsal_options' doesn't exist for query SELECT * FROM wsal_options WHERE option_name = 'wsal-hide-plugin' made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('plugins_loaded'), call_user_func_array, WpSecurityAuditLog->Load, WSAL_Settings->IsIncognito, WpSecurityAuditLog->GetGlobalOption, WSAL_DB_Option->GetOptionValue, WSAL_DB_Option->GetNamedOption, WSAL_DB_ActiveRecord->Load, QM_DB->query
WordPress database error Table 'wsal_options' doesn't exist for query SELECT * FROM wsal_options WHERE option_name = 'wsal-dev-options' made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), call_user_func_array, WpSecurityAuditLog->Init, WSAL_SensorManager->HookEvents, WSAL_Sensors_PhpErrors->HookEvents, WSAL_Settings->IsPhpErrorLoggingEnabled, WSAL_Settings->IsDevOptionEnabled, WpSecurityAuditLog->GetGlobalOption, WSAL_DB_Option->GetOptionValue, WSAL_DB_Option->GetNamedOption, WSAL_DB_ActiveRecord->Load, QM_DB->query
WordPress database error Table 'wsal_options' doesn't exist for query SELECT * FROM wsal_options WHERE option_name = 'wsal-plugin-viewers' made by require_once('wp-admin/admin.php'), require('wp-admin/menu.php'), require_once('wp-admin/includes/menu.php'), do_action('admin_menu'), call_user_func_array, WSAL_ViewManager->AddAdminMenus, WSAL_Settings->CurrentUserCan, WSAL_Settings->UserCan, WSAL_Settings->GetAccessTokens, WSAL_Settings->GetAllowedPluginViewers, WpSecurityAuditLog->GetGlobalOption, WSAL_DB_Option->GetOptionValue, WSAL_DB_Option->GetNamedOption, WSAL_DB_ActiveRecord->Load, QM_DB->query
WordPress database error Table 'wsal_options' doesn't exist for query SELECT * FROM wsal_options WHERE option_name = 'wsal-plugin-editors' made by require_once('wp-admin/admin.php'), require('wp-admin/menu.php'), require_once('wp-admin/includes/menu.php'), do_action('admin_menu'), call_user_func_array, WSAL_ViewManager->AddAdminMenus, WSAL_Settings->CurrentUserCan, WSAL_Settings->UserCan, WSAL_Settings->GetAccessTokens, WSAL_Settings->GetAllowedPluginEditors, WpSecurityAuditLog->GetGlobalOption, WSAL_DB_Option->GetOptionValue, WSAL_DB_Option->GetNamedOption, WSAL_DB_ActiveRecord->Load, QM_DB->query
WordPress database error Table 'wsal_options' doesn't exist for query SELECT * FROM wsal_options WHERE option_name = 'wsal-restrict-admins' made by require_once('wp-admin/admin.php'), require('wp-admin/menu.php'), require_once('wp-admin/includes/menu.php'), do_action('admin_menu'), call_user_func_array, WSAL_ViewManager->AddAdminMenus, WSAL_Settings->CurrentUserCan, WSAL_Settings->UserCan, WSAL_Settings->GetAccessTokens, WSAL_Settings->IsRestrictAdmins, WpSecurityAuditLog->GetGlobalOption, WSAL_DB_Option->GetOptionValue, WSAL_DB_Option->GetNamedOption, WSAL_DB_ActiveRecord->Load, QM_DB->query
WordPress database error Table 'wsal_options' doesn't exist for query SELECT * FROM wsal_options WHERE option_name = 'wsal-licenses' made by require_once('wp-admin/admin-header.php'), do_action('all_admin_notices'), call_user_func_array, WSAL_Views_AuditLog->AdminNoticesNotificationsExtension, WSAL_LicenseManager->IsLicenseValid, WSAL_Settings->GetLicenseStatus, WSAL_Settings->GetLicense, WSAL_Settings->GetLicenses, WpSecurityAuditLog->GetGlobalOption, WSAL_DB_Option->GetOptionValue, WSAL_DB_Option->GetNamedOption, WSAL_DB_ActiveRecord->Load, QM_DB->query
WordPress database error Table 'wsal_options' doesn't exist for query SELECT * FROM wsal_options WHERE option_name = 'wsal-excluded-users' made by shutdown_action_hook, do_action('shutdown'), call_user_func_array, WSAL_Sensors_PluginsThemes->EventAdminShutdown, WSAL_AlertManager->Trigger, WSAL_AlertManager->CheckEnableUserRoles, WSAL_AlertManager->IsDisabledUser, WSAL_AlertManager->GetDisabledUsers, WSAL_Settings->GetExcludedMonitoringUsers, WpSecurityAuditLog->GetGlobalOption, WSAL_DB_Option->GetOptionValue, WSAL_DB_Option->GetNamedOption, WSAL_DB_ActiveRecord->Load, QM_DB->query
WordPress database error Table 'wsal_options' doesn't exist for query SELECT * FROM wsal_options WHERE option_name = 'wsal-excluded-roles' made by shutdown_action_hook, do_action('shutdown'), call_user_func_array, WSAL_Sensors_PluginsThemes->EventAdminShutdown, WSAL_AlertManager->Trigger, WSAL_AlertManager->CheckEnableUserRoles, WSAL_AlertManager->IsDisabledRole, WSAL_AlertManager->GetDisabledRoles, WSAL_Settings->GetExcludedMonitoringRoles, WpSecurityAuditLog->GetGlobalOption, WSAL_DB_Option->GetOptionValue, WSAL_DB_Option->GetNamedOption, WSAL_DB_ActiveRecord->Load, QM_DB->query
WordPress database error Table 'wsal_options' doesn't exist for query SELECT * FROM wsal_options WHERE option_name = 'wsal-disabled-alerts' made by shutdown_action_hook, do_action('shutdown'), call_user_func_array, WSAL_Sensors_PluginsThemes->EventAdminShutdown, WSAL_AlertManager->Trigger, WSAL_AlertManager->_CommitItem, WSAL_AlertManager->IsEnabled, WSAL_AlertManager->GetDisabledAlerts, WSAL_Settings->GetDisabledAlerts, WpSecurityAuditLog->GetGlobalOption, WSAL_DB_Option->GetOptionValue, WSAL_DB_Option->GetNamedOption, WSAL_DB_ActiveRecord->Load, QM_DB->query
WordPress database error Table 'wsal_options' doesn't exist for query SELECT * FROM wsal_options WHERE option_name = 'wsal-use-proxy-ip' made by shutdown_action_hook, do_action('shutdown'), call_user_func_array, WSAL_Sensors_PluginsThemes->EventAdminShutdown, WSAL_AlertManager->Trigger, WSAL_AlertManager->_CommitItem, WSAL_AlertManager->Log, WSAL_Settings->GetMainClientIP, WSAL_Settings->IsMainIPFromProxy, WpSecurityAuditLog->GetGlobalOption, WSAL_DB_Option->GetOptionValue, WSAL_DB_Option->GetNamedOption, WSAL_DB_ActiveRecord->Load, QM_DB->query
WordPress database error Table 'wsal_options' doesn't exist for query SELECT * FROM wsal_options WHERE option_name = 'wsal-filter-internal-ip' made by shutdown_action_hook, do_action('shutdown'), call_user_func_array, WSAL_Sensors_PluginsThemes->EventAdminShutdown, WSAL_AlertManager->Trigger, WSAL_AlertManager->_CommitItem, WSAL_AlertManager->Log, WSAL_Settings->GetMainClientIP, WSAL_Settings->ValidateIP, WSAL_Settings->IsInternalIPsFiltered, WpSecurityAuditLog->GetGlobalOption, WSAL_DB_Option->GetOptionValue, WSAL_DB_Option->GetNamedOption, WSAL_DB_ActiveRecord->Load, QM_DB->query
There are a lot of entries and I’m still clearing out the log, so it’s tough to tell if there are any other different ones. If I find more, I can come back to let you know, if you like.
I’m also not 100% sure that the error log doesn’t still have new entries being added. Once I’m done clearing out the log, I’ll know. But at this point, Query Monitor isn’t showing any more errors, which is how I found out about the problem in the first place.
Cheers!