Fatal error: Uncaught Exception: Table ‘wp_xxxxx.rFa9lj_wfConfig’ doesn’t exist
in /var/www/vhosts/xxxxxxxxxxxx.com/httpdocs/wp-includes/wp-db.php on line 2056
Call stack:
mysqli_query()
wp-includes/wp-db.php:2056
wpdb::_do_query()
wp-includes/wp-db.php:1945
wpdb::query()
wp-content/plugins/query-monitor/wp-content/db.php:103
QM_DB::query()
wp-includes/wp-db.php:2695
wpdb::get_results()
wp-content/plugins/wordfence/lib/wfConfig.php:290
wfConfig::loadAllOptions()
wp-content/plugins/wordfence/lib/wfConfig.php:368
wfConfig::hasCachedOption()
wp-content/plugins/wordfence/lib/wfConfig.php:520
wfConfig::get()
wp-content/plugins/wordfence/lib/wfCredentialsController.php:12
wfCredentialsController::allowLegacy2FA()
wp-content/plugins/wordfence/lib/wfCredentialsController.php:16
wfCredentialsController::useLegacy2FA()
wp-content/plugins/wordfence/lib/wordfenceClass.php:48
require_once()
wp-content/plugins/wordfence/wordfence.php:115
include_once()
wp-admin/includes/plugin.php:2286
plugin_sandbox_scrape()
wp-admin/plugins.php:191
I found another support ticket where the person seemed to have the same issue, but it did not show me how to apply the solution.
https://www.ads-software.com/support/topic/large-wfconfig-table-causing-php-crash/
Many of my websites have the same issue.
]]>]]>WordPress database error Deadlock found when trying to get lock; try restarting transaction for query INSERT IGNORE INTO
wp_wfConfig
(name
,val
,autoload
) VALUES (‘wfSyncGeoIP.lock’, ‘1541827733’, ‘no’)
Wordfence could not register with the Wordfence scanning servers when it activated. You can try to fix this by deactivating Wordfence and then activating it again, so Wordfence will retry registering for you. If you keep seeing this error, it usually means your WordPress server can’t connect to our scanning servers, or your wfConfig database table cannot be created to save the key. You can try asking your host to allow your server to connect to noc1.wordfence.com or check the wfConfig database table and database privileges.
Please advise me what to do to fix.
]]>I am getting 100s of lines very similar to the following error in the WordPress /wp-content/debug.log:
[26-Sep-2018 21:49:21 UTC] WordPress database error Table ‘databasename.wp_wfConfig’ doesn’t exist in engine for query SELECT name, val, autoload FROM wp_wfConfig WHERE name = ‘apiKey’ made by activate_plugin, include_once(‘/plugins/wordfence/wordfence.php’), wordfence::install_actions, wordfence::getLog, wfLog::shared, wfConfig::get
I have tested this with the default theme twentyseventeen and NO other plugins activated. I have tried deleting all code based configs and all database tables. The errors re-appears on every page load.
I have tested using older version of the plugin back to version 7.1.0 and I still get these entries in the debug.log.
I am running this on NGINX via Docker locally and on NGINX via Azure remotely.
]]>INSERT INTO wp_wfConfig
(name
, val
) VALUES
(‘wfsd_engine’, 0x4f3a3132 […];
The value in this entry exceeds the default 16M max_allowed_packet value. As a result the import operation is halted. I’ve managed to migrate the database by dropping all WordFence-related tables, effectively forcing WF into a blank re-activation.
Perhaps it would interest the developers of the plugin to find a workaround for setting up a table row with such a massive amount of data that it effectively makes any database export unusable, for example by fragmenting the data stored. I’m not really an SQL expert so I’m just gonna drop this issue here and hope you can do something with it.
If you need any additional information I’ll be happy to provide it
https://www.ads-software.com/plugins/wordfence/
]]>I could just set my database plugin to optimise on a daily basis, but is there a solution for this issue?
https://www.ads-software.com/extend/plugins/wordfence/
]]>