• elsaforumwp

    (@elsaforumwp)


    Hello,

    I tried to block an ip address on Wordfence.

    When I consult “Current blocks for mywebsite”, I can unfortunately read “No blocks are currently active”.

    I tried to block this ip once, twice … The ip address is still not blocked.

    Here’s the message error :

    Erreur de la base de donn\xc3\xa9es WordPress Table ‘mywebsite_wp2018.wpsms_wfblocks7’ doesn’t exist pour la requ\xc3\xaate SELECT *, CASE \nWHEN type = 3 THEN 0\nWHEN type = 4 THEN 1\nWHEN type = 7 THEN 2\nWHEN type = 6 THEN 3\nWHEN type = 5 THEN 4\nWHEN type = 9 THEN 5\nWHEN type = 8 THEN 6\nWHEN type = 2 THEN 7\nWHEN type = 1 THEN 8\nELSE 9999\nEND AS typeSort, CASE \nWHEN type = 3 THEN parameters\nWHEN type = 4 THEN parameters\nWHEN type = 1 THEN IP\nWHEN type = 9 THEN IP\nWHEN type = 5 THEN IP\nWHEN type = 6 THEN IP\nWHEN type = 7 THEN IP\nWHEN type = 2 THEN IP\nWHEN type = 8 THEN IP\nELSE 9999\nEND AS detailSort\n FROM wpsms_wfblocks7 WHERE type IN (3) AND (expiration = 0 OR expiration > UNIX_TIMESTAMP()) ORDER BY typeSort ASC, id DESC faite par require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘plugins_loaded’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, wordfence::veryFirstAction, wfLog->firewallBadIPs, wfBlock::countryBlocks, wfBlock::allBlocks

    I checked the previous topics but could not find something really similar.

    Thank you in advance for your help !

    Elsa.

Viewing 2 replies - 1 through 2 (of 2 total)
  • WFGerroald

    (@wfgerald)

    Hey @elsaforumwp,

    This looks like some of the database tables weren’t created when Wordfence did the upgrade or was installed. Can you try going to Dashboard > Global Options > Wordfence General Options and Checking “Delete Wordfence tables and data on deactivation”. Save the changes (top right corner of screen). Deactivate the plugin and then reactivate it. This will wipe all the setting so if you want to save what you have use the import/export options below that section to export a key that contains the current settings so you can import them later. This should recreate the database tables which should fix your issue.

    Please let me know how it goes.

    Thanks,

    Gerroald

    Thread Starter elsaforumwp

    (@elsaforumwp)

    Hello @wfgerald,

    Thank you very much for your fast answer.

    Our team visibly already tried to fix the issue this way but it doesn’t seem to work …

    I’m probably going to delete the widget and reinstall it, because it doesn’t work at all, the app stops blocking ip address itself, so became totally useless.

    Keep in touch 😉

    Elsa.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Can’t block an ip address manually’ is closed to new replies.