WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
PHP Fatal error: undefined function w3_url_format() (3 posts)

  1. jumbo
    Member
    Posted 1 year ago #

    Hi,

    The following error is appearing in my log files:

    PHP Fatal error: Call to undefined function w3_url_format() in /home/userdir/public_html/wp-content/plugins/w3-total-cache/lib/W3/Plugin/PgCacheAdmin.php on line 213

    I'm using v0.9.2.5 but this error was logged with the prior version v0.9.2.4 as well.

    I only have disk enhanced cache enabled.

    Thanks.

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. BOYPT
    Member
    Posted 1 year ago #

    You can fix it by yourself by add a line of code:

    refer:
    http://wordpress.org/support/topic/plugin-w3-total-cache-call-to-undefined-function-after-update?replies=17

    Open the problematic PgCacheAdmin.php, and after the line :

    require_once W3TC_INC_DIR . '/functions/rule.php';

    add :

    require_once W3TC_INC_DIR . '/functions/url.php';

  3. Frederick Townes
    Member
    Plugin Author

    Posted 1 year ago #

    This issue is fixed in the latest release.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic