• Resolved redhat

    (@redhat)


    Hello Team,

    While Checking My Error Log had seen this error –

    PHP Fatal error: Uncaught exception ‘wfWAFStorageFileException’ with message ‘Unable to verify temporary file contents for atomic writing.’ in ../public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php:46
    Stack trace:

    #0 ../public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php(567): wfWAFStorageFile::atomicFilePutContents(‘…’, ‘<?php exit(‘Acc…’)

    #1 [internal function]: wfWAFStorageFile->saveConfig()
    #2 {main}
    thrown in ../public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php on line 46

    PHP Fatal error: Uncaught exception ‘wfWAFStorageFileException’ with message ‘Unable to verify temporary file contents for atomic writing.’ in ../public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php:46
    Stack trace:
    #0 ../public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php(567): wfWAFStorageFile::atomicFilePutContents(‘…’, ‘<?php exit(‘Acc…’)
    #1 [internal function]: wfWAFStorageFile->saveConfig()
    #2 {main}
    thrown in ../public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php on line 46

    PHP Parse error: syntax error, unexpected end of file in ../public_html/wp-content/plugins/wordfence/lib/wfUtils.php on line 157

    Need Help..!

    Regards,
    Harshad D

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support wfphil

    (@wfphil)

    Hi,

    Can you try deleting the Wordfence directory located below:

    ~/wp-content/wflogs

    Loading any page on your site will automatically create that directory. However, your firewall status will have reverted to Learning Mode if it was previously set to Enabled and Protecting. Please refer to our documentation for Learning Mode below:

    https://www.wordfence.com/help/firewall/learning-mode/

    Please let me know if that prevents the logged errors you have been seeing.

    Thanks.

    Thread Starter redhat

    (@redhat)

    Hey @wfphil

    i have deleted the Wordfence directory located below:

    ~/wp-content/wflogs

    yes it prevents the logged errors i have been seeing.

    Do let me know should i enable it or i have to wait for 7 days ?

    Know i am getting this in error log –

    PHP Warning: array_key_exists(): The first argument should be either a string or an integer in …../wp-content/plugins/wordfence/lib/wfCrawl.php on line 118

    Any help on this ?

    Regards,
    Harshad D

    Plugin Support wfphil

    (@wfphil)

    Hi,

    For the Learning Mode 7 day period please refer to this link:

    https://www.wordfence.com/help/firewall/learning-mode

    For the new error message I would like to have a look at your Wordfence diagnostics report. Please go to the top of the “Diagnostics” tab on the Wordfence “Tools” page. There will be a “SEND REPORT BY EMAIL” button to send the diagnostics report. Enter phil [at] wordfence [dot] com as the email and @redhat as the forum username please.

    Once you have emailed me the diagnostics report can you reply here to let me know that it has been sent. This is important in the unlikely event that your installation of WordPress is having an issue with sending mail.

    Thank you.

    Thank you.

    Hi!
    Since we haven’t heard back from you for a while I’m going to resolve this thread. If you have any other issues later on, please feel free to start a new one at any time. Thank you!

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

The topic ‘PHP Parse error: syntax error, unexpected end of file’ is closed to new replies.