[repareren] Aanroep naar ongedefinieerde functie w3_url_format() in PgCacheAdmin.php
[repareren] Aanroep naar ongedefinieerde functie w3_url_format() in PgCacheAdmin.php
W3 Total Cache este unul dintre cele mai apreciate module de optimizare ((SEO En consum de resurse server) voor WordPress. Acest tutorial rezolvă o eroare “Call to undefined function w3_url_format() in PgCacheAdmin.php” care 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 A W3 Total Cache.
Pentru un proprietar de blog care nu are cPanel pentru administrarea serviciului de webhosting sau nu are acces la Apache Error Logs, această fout este invizibilă. Nu știu exact daca afectează buna funcționare a plugin-ului W3 Total Cache, însa este bine sa fie eliminată.
[repareren] Aanroep naar ongedefinieerde functie w3_url_format() in PgCacheAdmin.php
1. Deschidem fisierul PgCacheAdmin.php En sub linia 10:
require_once W3TC_INC_DIR . '/functions/rule.php';
adaugam linia:
require_once W3TC_INC_DIR . '/functions/url.php';
![[repareren] Aanroep naar ongedefinieerde functie w3_url_format() in PgCacheAdmin.php [Fix] Call to undefined function w3_url_format() in PgCacheAdmin.php](https://stealthsettings.com/wp-content/uploads/2023/05/Fix-w3-total-cache-error.webp)
2. Salvam fisierul PgCacheAdmin.php.
Acum totul ar trebui sa fie OK.
- WP Super Cache versus W3 Total Cache (laadsnelheid van WordPress-pagina's)
- Fatal error: Call to undefined function wp() in /home/user/public_html/wp-blog-header.php on line 18
- [Fix PHP 7.2 / PHP 7.3] PHP Warning: Use of undefined constant (this will throw an Error in a future version of PHP)
- [FOOR WordPress Update -fout] U mag deze pagina niet rechtstreeks aanroepen.
Downloaden 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 the download times and providing transparent content delivery network (CDN) integration.
[repareren] Aanroep naar ongedefinieerde functie w3_url_format() in PgCacheAdmin.php
Wat is nieuw
Over Stealth
Gepassioneerd door technologie schrijf ik met plezier op StealthSettings.com sinds 2006. Ik heb veel ervaring met besturingssystemen: macOS, Windows en Linux, maar ook met programmeertalen en bloggingplatforms (WordPress) en voor webshops (WooCommerce, Magento, PrestaShop).
Bekijk alle berichten van StealthMogelijk bent u ook geïnteresseerd in...