• Resolved luigitec

    (@luigitec)


    Hi,

    Recently I started noticing the following error logs:

    [11-Jul-2019 23:23:38 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function W3TC\request_filesystem_credentials() in /path/to/wordpress/wp-content/plugins/w3-total-cache/Util_WpFile.php:246
    Stack trace:
    #0 /path/to/wordpress/wp-content/plugins/w3-total-cache/Util_WpFile.php(21): W3TC\Util_WpFile::request_filesystem_credentials()
    #1 /path/to/wordpress/wp-content/plugins/w3-total-cache/PgCache_Environment.php(462): W3TC\Util_WpFile::write_to_file('/path/to/bl...', 'Options +Includ...')
    #2 /path/to/wordpress/wp-content/plugins/w3-total-cache/PgCache_Environment.php(31): W3TC\PgCache_Environment->rules_core_add(Object(W3TC\Config), Object(W3TC\Util_Environment_Exceptions))
    #3 /path/to/wordpress/wp-content/plugins/w3-total-cache/PgCache_ContentGrabber.php(1041): W3TC\PgCache_Environment->fix_on_wpadmin_request(Object(W3TC\Config), true)
    #4 [internal function]: W3TC\PgCache_ContentGrabber->_check_rules_present()
    #5 {main}
      thrown in /path/to/wordpress/wp-content/plugins/w3-total-cache/Util_WpFile.php on line 246

    It happens quite a lot, I’ve the most recent version of the plugin, but it was happening on the previous one as well.

    Some other details:

    PHP 7.3.3
    WordPress version: 5.1.1
    WordPress Multisite installation running
    Plugin version: 0.9.7.5

    I hope you can help me fix the issue. If you like me to share any other details, please let me know.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,
    Thank you for bringing this to our attention.
    We’ve created a ticket for this and we are working on a fix for future releases.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @luigitec,

    Can you please visit performance->dashboard page and add .htaccess rules it requests from you manually as the plugin cant do it automatically?
    There should be a note on each Performance page.

    Thread Starter luigitec

    (@luigitec)

    Hi @vmarko sure, I apologize for the late response, I didn’t receive the reply notification. I’ll go ahead and do that, and keep you posted with the results, hopefully it gets fixed.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Call to undefined function W3TC\request_filesystem_credentials’ is closed to new replies.