• Resolved bripa92

    (@bripa92)


    When visiting our website a couple of days ago, this is all that was visible:

    Parse error: syntax error, unexpected end of file in /home/SITE/public_html/wp-content/wflogs/rules.php on line 115

    I was able to access the back end using cPanel and removed all wordfence files which put out website back on the air. But when I have since tried to reinstall and activate wordfence, I get this:

    Plugin could not be activated because it triggered a fatal error.

    Parse error: syntax error, unexpected end of file in /home/SITE/public_html/wp-content/wflogs/rules.php on line 115

    Why is this happening, how can I fix it??

    https://ww.wp.xz.cn/plugins/wordfence/

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

    (@wflandon)

    Hi bripa92,

    Are you able to access the WordPress dashboard when the error occurs? Did you delete anything in your database when you removed the Wordfence files? What steps did you take to reinstall Wordfence? Please send your rules.php file to [email protected].

    You should be able to delete the rules.php file and it will auto create a new one. But if this happened already during your reinstall, manually removing that file will not help. However, it is worth a shot.

    Reference: Your issue seems be related to this thread https://ww.wp.xz.cn/support/topic/parse-error-398?replies=3#post-8429846 which has an internal case number of FB1845.

    Thread Starter bripa92

    (@bripa92)

    wflandon,

    Just installed the latest update, same problem so went back in and deleted that pesky rules file again. All good now. Thanks so much 🙂

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

The topic ‘Wordfence Plugin triggering fatal error’ is closed to new replies.