• Resolved skowronek

    (@skowronek)


    FYI,

    wp-content\plugins\wordfence\vendor\wordfence\wf-waf\src\lib\parser\parser.php line 35, while loop crashes in certain upgrade circumstances. Don’t have time to troubleshoot anymore. Suffice it to say when I break; out of the while loop the site loads. I can then disable WF, remove the break;, and enable WF just fine. Probably related to the $token = $this->nextToken() not iterating to the next token or something. Dies from infinite loop.

    Good luck.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @skowronek,

    Sorry you’re experiencing this issue, however this is not something we’ve seen before.

    Could you please tell us more about the upgrade circumstances under which this happens?

    Also, can you confirm the PHP version you’re running?

    Seeing the “\” in the path you mentioned I assume you’re on a Windows platform. Is that correct?

    What web server are you using?

    wfchloe

    (@wfchloe)

    Hello!

    I hope we were successful in helping you resolve your issue with Wordfence! Since we have not heard back from you in the past 2 weeks I will now be marking this support thread as resolved. However, if we still haven’t resolved your issue please reach out to us as we would be more than happy to further assist you!

    Thanks and have a great day!
    Chloe

    Thread Starter skowronek

    (@skowronek)

    I ended up realizing on one dev box we had been running PHP 5.x, which I’m not sure that’s an issue specifically, but could cause serialization issues. I haven’t been able to reproduce since, but I will follow up later if it happens again, even with running PHP 7.x.

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WF Crash on Upgrade’ is closed to new replies.