[Fixed] Call to undefined function w3_url_format() in PgCacheAdmin.php

W3 Total Cache is one of the most popular modules of optimization (SEO and server resource consumption) for . This tutorial fixes an error “Call to undefined function w3_url_format() in PgCacheAdmin.php” that appears in some scenarios.

At a few sites I use this plugin WordPress I encountered errors like:

Sat Oct 01 05:41:28 2011] [error] [client IP] PHP Fatal error:  Call to undefined function w3_url_format() in /home/username/public_html/wp-content/plugins/w3-total-cache/lib/W3/Plugin/PgCacheAdmin.php on line 213

I specify that the error also appears in the latest version 0.9.2.4 a W3 Total Cache
For a blog owner who has  for managing service or no access to Apache Error Logs, This one error it is invisible. I don't know exactly if it affects the proper functioning of the plugin W3 Total Cache, but it is good to be eliminated.

[Fixed] Call to undefined function w3_url_format() in PgCacheAdmin.php

1. Open the file PgCacheAdmin. si below the 10:

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

add the line:

require_once W3TC_INC_DIR . '/functions/url.php';
[Fixed] Call to undefined function w3_url_format() in PgCacheAdmin.php
[Fixed] Call to undefined function w3_url_format() in PgCacheAdmin.php

2. Save the file PgCacheAdmin.php.

Now everything should be OK.

Download W3 Total Cache WordPress Plugin - link .

W3 Total Cache

Improve site performance and user experience via caching: browser, page, object, database, minify and content delivery network support. W3 Total Cache improves the user experience of your site by improving your server performance, caching every aspect of your site, reducing download times and providing transparent content delivery network (CDN) integration.

Passionate about technology, I enjoy writing on StealthSettings.com since 2006. I have a rich experience in operating systems: macOS, Windows, and Linux, as well as in programming languages and blogging platforms (WordPress) and for online stores (WooCommerce, Magento, PrestaShop).

How to » WordPress » [Fixed] Call to undefined function w3_url_format() in PgCacheAdmin.php
Leave a Comment