• Resolved Robbyts

    (@rtsallagov)


    Update to 6.1.9 crashed wordpress.
    Wordpress runs on nginx + PHP7 + Redis

    Fatal error: Uncaught wfWAFStorageFileException: Unable to open /var/www/ru.practicaspain.es/htdocs/wp-content/wflogs/config.php for reading and writing. in /var/www/ru.practicaspain.es/htdocs/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php:355 Stack trace: #0 /var/www/ru.practicaspain.es/htdocs/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php(452): wfWAFStorageFile->open() #1 /var/www/ru.practicaspain.es/htdocs/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php(409): wfWAFStorageFile->fetchConfigData() #2 /var/www/ru.practicaspain.es/htdocs/wp-content/plugins/wordfence/lib/wordfenceClass.php(729): wfWAFStorageFile->getConfig(‘wafStatus’) #3 /var/www/ru.practicaspain.es/htdocs/wp-includes/plugin.php(525): wordfence::enqueueAJAXWatcher(‘plugins.php’) #4 /var/www/ru.practicaspain.es/htdocs/wp-admin/admin-header.php(92): do_action(‘admin_enqueue_s…’, ‘plugins.php’) #5 /var/www/ru.practicaspain.es/htdocs/wp-admin/plugins.php(409): require_ in /var/www/ru.practicaspain.es/htdocs/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php on line 355

    https://wordpress.org/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, but either isn’t created or the contents can’t be accessed on your server. Can you check the permissions on the wp-content directory and wflogs, to make sure the web server is able to create directories/files 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)

    Hi again — this issue is fixed in version 6.1.10, so the temporary fix above is no longer necessary. If you haven’t fixed the site yet, you can rename the Wordfence directory found at wp-content/plugins/wordfence/ and then install the new version.

    -Matt R

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘6.1.9 crashes wordpress’ is closed to new replies.