• Resolved wd0ajg

    (@wd0ajg)


    updated to lastest version and blog is crashed. Delete wordfence and blog works fine… issue of trying to write to file and/or directory not found.

    Fatal error: Uncaught exception ‘wfWAFStorageFileException’ with message ‘Unable to open /home/ishmaels/blog/wp-content/wflogs/ips.php for reading and writing.’ in /home/ishmaels/blog/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php:355 Stack trace: #0 /home/ishmaels/blog/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php(452): wfWAFStorageFile->open() #1 /home/ishmaels/blog/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php(409): wfWAFStorageFile->fetchConfigData() #2 /home/ishmaels/blog/wp-content/plugins/wordfence/lib/wordfenceClass.php(729): wfWAFStorageFile->getConfig(‘wafStatus’) #3 [internal function]: wordfence::enqueueAJAXWatcher(‘plugins.php’) #4 /home/ishmaels/blog/wp-includes/plugin.php(525): call_user_func_array(‘wordfence::enqu…’, Array) #5 /home/ishmaels/blog/wp-admin/admin-header.php(9 in /home/ishmaels/blog/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php on line 355

    i do not have a wflogs directory and it is not created in the install?

    https://www.ads-software.com/plugins/wordfence/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WFMattR

    (@wfmattr)

    Hi,

    Sorry to hear about the trouble. The wflogs directory should be created automatically. Can you check the permissions on the wp-content directory, to make sure the web server is able to create directories there?

    A temporary fix while we investigate is to add this line to your theme’s “functions.php” file — this will disable the part of Wordfence that is causing the issue:
    remove_action(‘wp_enqueue_scripts’, ‘wordfence::enqueueAJAXWatcher’);

    -Matt R

    Plugin Author WFMattR

    (@wfmattr)

    This issue is now fixed in version 6.1.10. Installing the latest version should fix the issue.

    -Matt R

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Crash after last update’ is closed to new replies.