W3 Total Cache is one of the most popular modules of optimization (SEO and server resource consumption) for WordPress. 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 cPanel for managing service Web Hosting 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.
php
si below the 10:
require_once W3TC_INC_DIR . '/functions/rule.php';
add the line:
require_once W3TC_INC_DIR . '/functions/url.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.