• Resolved vdgraphics

    (@vdgraphics)


    Hi we have this error on php error log piling up, what can it be?

    PHP Fatal error:  Uncaught wfWAFStorageFileException: Unable to verify temporary file contents for atomic writing. in /home/customer/www/irontime-sales.com/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php:52
    Stack trace:
    #0 /home/customer/www/irontime-sales.com/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php(1349): wfWAFStorageFile::atomicFilePutContents('/home/customer/...', '<?php exit('Acc...', 'attack')
    #1 /home/customer/www/irontime-sales.com/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php(283): wfWAFAttackDataStorageFileEngine->truncate()
    #2 /home/customer/www/irontime-sales.com/public_html/wp-content/plugins/wordfence/lib/wordfenceClass.php(8841): wfWAFStorageFile->truncateAttackData()
    #3 /home/customer/www/irontime-sales.com/public_html/wp-includes/class-wp-hook.php(290): wordfence::syncAttackData()
    #4 /home/customer/www/irontime-sales.com/public_html/wp-includes/class-wp-hook.php(316): WP_Hook-> in /home/customer/www/irontime-sales.com/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php on line 52
Viewing 1 replies (of 1 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @vdgraphics, thanks for getting in touch!

    Using FTP or your hosting file manager, could you navigate to your wp-content folder and remove the wflogs folder? Wordfence will usually regenerate the folder with a file called rules.php automatically within approximately 30 minutes.

    It’s also worth checking that permissions on your WordPress site’s directories are 755 and that the owner on your WordPress root directory (and all contained directories) is www-data. Web servers such as Apache, Nginx, etc will require www-data to be an owner so that WordPress and plugins can update and run functions required to do so.

    Further reading on file permissions for WordPress: https://wordpress.org/support/article/changing-file-permissions/

    Thanks and let me know how that goes,

    Peter.

Viewing 1 replies (of 1 total)

The topic ‘PHP Fatal Error Uncaught wfWAFStorageFileException’ is closed to new replies.