• Hellos,

    Hellos,

    I’ve run the Wordfence plugin on my multisite WP install for a few months and it’s been working fine. Now I get the following error on the Wordfence Option page in WP Admin:

    “Wordfence could not get an API key from the Wordfence scanning servers when it activated. You can try to fix this by going to the Wordfence “options” page and hitting “Save Changes”. This will cause Wordfence to retry fetching an API key for you. If you keep seeing this error it usually means your WordPress server can’t connect to our scanning servers. You can try asking your WordPress host to allow your WordPress server to connect to noc1.wordfence.com.”

    When I try to save the Options page, the first error I get is:

    An error occurred

    Please enter a number for the amount of Live Traffic data to store.

    When I enter the number 1000 in the applicable field and try to save the Options page again, I get:

    Please reload this page

    You selected a config option that requires a page reload. Click the below to reload this page to update the menu

    [Reload page]

    When I hit ‘Reload page’, I’m back to an Options page with empty values. The API key error is still there, plus this one:

    Wordfence Live Activity: Error writing value for adminUserList (MySQLi error: [1146] Table ‘cluetik21_wp4.wp_wfConfig’ doesn’t exist)

    I already once uninstalled and then re-installed the plugin. Now I’m going in circles. What is a man to do?

    Thank in advance

Viewing 5 replies - 1 through 5 (of 5 total)
  • I have exactly the same problem. I have uninstalled in and reinstalled at least five times. Nothing works

    This problem has been going for over a week

    My hosting provider checked everything and decided it was a fault with the Wordfence Plugin

    Has anyone got a solution?

    One of my clients is having the same problem as well. Wordfence has been running for a long time just fine until the most recent update.

    I’ve uninstalled and reinstalled, deleting all tables and data along the way to no avail.

    The site is on a cloud server if that helps any.

    Hi,
    @schuurmudgeon please check (Wordfence > Tools => Diagnostics => Connectivity) and let me know what you have there.

    Also using any database administration tool like “phpMyAdmin”, make sure this table “wp_wfConfig” exists and try to repair it, if it doesn’t exist, then enable “Delete Wordfence tables and data on deactivation” option from (Wordfence > Options) then deactivate and reactivate the plugin again and this should resolve this issue.

    @sommersjeff and @kendawes I’m not sure if you have the same scenario with the same error message or not? but it’s worth to check what I suggested above, if this doesn’t resolve your problem, then please consider opening your own support thread with any relevant information as per forum rules.

    Thanks.

    I found another clue – When I attempted to go to the “Tools” tab, I received a notice that a Wordfence Table had crashed. (Sorry, I didn’t take note of which one)

    I tried the “Delete Wordfence Tables and Data…” and then disabled and then deleted Wordfence. Out of curiosity, I went to the DB via phpMyAdmin and tried a repair, reinstalled WF to no avail.

    I then tried the above again, but this time I manually deleted the 7 or 8 WF tables that remained.

    I then reinstalled WF and everything is hunky dory! I’m not sure what would cause the particular table to crash.

    I had exactly the same problem and solved it by opening permissions on my database. Originally I just had select, insert, update, delete, but added the following:

    https://wordpress.stackexchange.com/questions/6424/mysql-database-user-which-privileges-are-needed

    … then deactivated and activated the plugin … all good now.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error: Wordfence could not get an API key…’ is closed to new replies.