rykios
Member
Posted 8 months ago #
Have been using w3TC for long, never had a single problem. Most effective and COMPLETE caching plugin, by far :)
After a recent move to a new server, i noticed error log in public_html, full with lines like this one:
[21-Oct-2012 06:10:54 UTC] PHP Fatal error: Call to undefined function w3_url_format() in /home/radicio/public_html/wp-content/plugins/w3-total-cache/lib/W3/Plugin/PgCacheAdmin.php on line 213
All look like this one, only time stamps change.
Any ideas?
http://wordpress.org/extend/plugins/w3-total-cache/
rykios
Member
Posted 8 months ago #
I m not a php expert, but it looks like function w3_url_format is indeed undefined. At least not in functions/http.php
Looks like a bug indeed.
Result: Preload not working (checked via FTP for new page folders written in cache folder, and verified, only visited pages are cached)
rykios
Member
Posted 8 months ago #
ok it is a bug, that function is defined in another file (url.php)
To fix:
Edit file
/wp-content/plugins/w3-total-cache/lib/W3/Plugin/PgCacheAdmin.php
Change line 210 to this:
require_once W3TC_INC_DIR . '/functions/url.php';
Error, sorted. (Still cannot verify that there are pre-cache files generated, as it needs time)
This is fixed in the next release.