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

W3 Total Cache is one of the most appreciated modules of Optimization (SEO and Consuming of a Resurse Server) for . This tutorial solves an error “Call to undefined function w3_url_format() in PgCacheAdmin.php” which appears in some shingles.

To a few sites that this use plugin de WordPress I met 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

Specific that the error occurs including in the last version 0.9.2.4 a W3 Total Cache.
For a blog owner who does not have For the administration of the service of or does not have access to Apache Error Logs, this error is invisible. I don't know exactly if it affects the proper functioning of the plugin W3 Total Cache, however, it is good to be eliminated.

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

1. We open the file PgCacheAdmin. and below line 10:

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

We add the line:

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

2. We save the file PgCacheAdmin.php.

Now everything should be ok.

Download W3 Total Cache WordPress Pluginlink .

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 the download times and providing transparent content delivery network (CDN) integration.

Passionate about technology, I write with pleasure on stealthsetts.com starting with 2006. I have a rich experience in operating systems: Macos, Windows and Linux, but also in programming languages ​​and blogging platforms (WordPress) and for online stores (WooCommerce, Magento, Presashop).

Home Your source of IT tutorials, useful tips and news. [Fix] Call to undefined function w3_url_format() in PgCacheAdmin.php
Leave a Comment