• Resolved Netsultants

    (@netsultants)


    I believe I have a hacked WP site and installed the WF plugin…

    I have updated ver of WF and WP and I was able to see WF and use it to scan initially. After removing the questionable files and going back to the site I received this error on basically any page external or admin I tried to view:

    Parse error: syntax error, unexpected T_DOUBLE_ARROW in /home…/…../wp-content/plugins/wordfence/lib/wordfenceScanner.php on line 391

    The only way to get to the site again was to rename the wordfence folder so the plugin wouldn’t activate. I can see the site now, but WF is disabled by renaming the folder.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi netsultants,
    Did you install Wordfence 6.3.6 on your website directly or it was updated from version 6.3.5? if the latter, do you use any tool/service for updating your plugins? or you just updated the plugin using the default WordPress interface?

    For now, please try deleting the plugin files by connecting to your website via FTP/SFTP and re-install it again through the WordPress Dashboard as my best guess is something wrong happened during the update, re-installation should clear that up if this was the case.

    Let me know how it goes,
    Thanks.

    Hi,
    I’m facing the same problem.
    I deleted the plugin and installed via WordPress admin panel. It works fine but after few hours the problem appear again.

    i have the same problem, please tell me if u find a solution

    Hi,
    @themepi please make sure to check this specific line in “wordfence/lib/wordfenceScanner.php” file after re-installing the plugin and one more time when this error appears again, compare between them and let me know your findings.

    @themepi and @mc2netsrl It’s always recommended -as per forum rules– to start your own topic with your questions and mention all the details you have.

    Thanks.

    excuse me but i am new in this forum.
    I installed the wordfence plugin and work fine for two days, suddenly the site showed this error:
    Parse error: syntax error, unexpected T_DOUBLE_ARROW in /home…/…../wp-content/plugins/wordfence/lib/wordfenceScanner.php on line 391
    After removing the plugin folder the site went online again, i installed the plugin again but the error is already showned.
    Could u help me?

    @mc2netsrl how did you re-install the plugin? I suggest re-installing it from (WordPress Dashboard > Plugins => Add New), then activate the plugin and let me know if you still can see this error, it’s recommended to clear cache from your website in case you are using any caching plugin.

    Thanks.

    i follow step by step your instructions but after some hours the site report the error again

    Parse error: syntax error, unexpected ‘=>’ (T_DOUBLE_ARROW) in /home/XXX/public_html/wp-content/plugins/wordfence/lib/wordfenceScanner.php on line 391

    Please reinstall the plugin, then download this file “wp-content/plugins/wordfence/lib/wordfenceScanner.php” using any FTP/SFTP client (FileZilla for example), and when this error appears again, re-download the same file and do a simple comparison between them, or just email both files to “alaa [at] wordfence [dot] com”, I’ll take a look and let you know my findings, most probably this file is being modified somehow on your server.

    Thanks.

    Thanks @mc2netsrl, I checked both files, and I can confirm that after reinstalling the plugin, line 390 on this file “wordfenceScanner.php” got some text stripped off which results in this syntax error, it could be from an aggressive firewall/scanner installed on your server? I suggest getting in contact with your hosting provider about this behavior, I’m sure they can check if there is any software running on their end that is responsible for that.

    Thanks.

    Hi @netsultants
    Since I haven’t heard back from you I am assuming that the instructions helped you solve your issue so I am marking this topic as resolved.

    If however, for whatever reason, you are still experiencing this issue and it is not resolved please respond to the post, which will move it back up the queue, and mark this topic as “not resolved”.

    Thank you.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Parse Error …..Wordfence Ver 6.3.6 WP 4.7.3’ is closed to new replies.