• Resolved lelka

    (@gvaleria)


    I’m getting all sorts of PHP Notices and Errors related to the plugin:

    [14-Oct-2018 04:35:02 UTC] PHP Fatal error: Uncaught OutOfBoundsException: ipRange is not a valid property for this block type in /home/…/wp-content/plugins/wordfence/models/block/wfBlock.php:1148
    Stack trace:
    #0 /home/…/wp-content/plugins/wordfence/waf/wfWAFIPBlocksController.php(63): wfBlock->__get(‘ipRange’)
    #1 [internal function]: wfWAFIPBlocksController::synchronizeConfigSettings()
    #2 {main}
    thrown in /home/…/wp-content/plugins/wordfence/models/block/wfBlock.php on line 1148

    [14-Oct-2018 04:35:02 UTC] PHP Notice: Undefined index: reason in /home/…/wp-content/plugins/wordfence/models/block/wfBlock.php on line 734
    [14-Oct-2018 04:35:02 UTC] PHP Notice: Undefined index: lastAttempt in /home/…/wp-content/plugins/wordfence/models/block/wfBlock.php on line 734
    [14-Oct-2018 04:35:02 UTC] PHP Notice: Undefined index: type in /home/…/wp-content/plugins/wordfence/models/block/wfBlock.php on line 734
    [14-Oct-2018 04:35:02 UTC] PHP Notice: Undefined index: blockedTime in /home/…/wp-content/plugins/wordfence/models/block/wfBlock.php on line 734
    [14-Oct-2018 04:35:02 UTC] PHP Notice: Undefined index: reason in /home/…/wp-content/plugins/wordfence/models/block/wfBlock.php on line 734
    [14-Oct-2018 04:35:02 UTC] PHP Notice: Undefined index: lastAttempt in /home/…/wp-content/plugins/wordfence/models/block/wfBlock.php on line 734
    [14-Oct-2018 04:35:02 UTC] PHP Notice: Undefined index: blockedHits in /home/…/wp-content/plugins/wordfence/models/block/wfBlock.php on line 734
    [14-Oct-2018 04:35:02 UTC] PHP Notice: Undefined index: expiration in /home/…/wp-content/plugins/wordfence/models/block/wfBlock.php on line 734

    It is literally spamming into the debug.log. I have a few thousands lines of these errors just for the last three days.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @gvaleria,
    It sounds like there is something wrong with your existing blocks. I would recommend you

    1. Deleting all blocks from the Wordfence > Firewall > Blocking page
    2. If that doesn’t work, use phpMyAdmin to truncate the table wfBlocks7 (empty it)

    Let me know if that works!

    Thread Starter lelka

    (@gvaleria)

    Hi @wfasa,

    Thank you for the reply.

    There is no blocks, the wfBlocks7 table is empty. What else can it be?

    Thanks.

    Hi again,
    As far as I can tell it’s trying to get blocks, so that’s quite strange then why it would be trying to get blocks that don’t exist. Do you have any cache on the site? Opcache maybe? If so, I’d recommend try clearing that.

    Hi @gvaleria,

    We haven’t heard back from you in a while. I’ve gone ahead and marked this thread as resolved. If you’re still having issues with Wordfence, feel free to open another thread.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘A lot of PHP Notices and Errors in v.7.1.15’ is closed to new replies.