[תקן] התקשר לפונקציה לא מוגדרת W3_URL_FORMAT () ב- PGCACHEADMIN.PHP

W3 Total Cache este unul dintre cele mai apreciate module de אופטימיזציה ((SEO וכן consum de resurse server) עבור . Acest tutorial rezolvă o eroareCall to undefined function w3_url_format() in PgCacheAdmin.phpcare apare în unele șcenarii.

La câteva site-uri pe care folosesc acest plugin de WordPress am întâlnit erori de genul:

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 că eroarea apare inclusiv în ultima versiune 0.9.2.4 א W3 Total Cacheו
Pentru un proprietar de blog care nu are pentru administrarea serviciului de sau nu are acces la Apache Error Logs, această שְׁגִיאָה este invizibilă. Nu știu exact daca afectează buna funcționare a plugin-ului W3 Total Cache, însa este bine sa fie eliminată.

[תקן] התקשר לפונקציה לא מוגדרת W3_URL_FORMAT () ב- PGCACHEADMIN.PHP

1. Deschidem fisierul PgCacheAdmin. ו sub linia 10:

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

adaugam linia:

require_once W3TC_INC_DIR . '/functions/url.php';
[Fix] Call to undefined function w3_url_format() in PgCacheAdmin.php
[תקן] התקשר לפונקציה לא מוגדרת W3_URL_FORMAT () ב- PGCACHEADMIN.PHP

2. Salvam fisierul PgCacheAdmin.phpו

Acum totul ar trebui sa fie OK.

הורד W3 Total Cache WordPress Pluginלְקַשֵׁר ו

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.

נלהב מהטכנולוגיה, אני כותב בהנאה באתר stealthsetts.com החל משנת 2006. יש לי חוויה עשירה במערכות הפעלה: MacOS, Windows ו- Linux, אך גם בשפות תכנות ופלטפורמות בלוגים (WordPress) ולחנויות מקוונות (Woocommerce, Magento, Presashop).

בַּיִת המקור שלך להדרכות IT, טיפים ושל חדשות שימושיות. [תקן] התקשר לפונקציה לא מוגדרת W3_URL_FORMAT () ב- PGCACHEADMIN.PHP
השאירו תגובה