Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

465
Visualizações
WordPress - PHP Warning failed to open stream: No such file or directory (advanced-cache.php)

I'm getting this PHP Warning on back-end and front-end pages (WordPress) and can't figure out how to fix it:

Warning: include(/home/.../public_html/wp-content/advanced-cache.php): failed to open stream: No such file or directory in /home/.../public_html/wp-settings.php on line 84

Warning: include(): Failed opening '/home/.../public_html/wp-content/advanced-cache.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/.../public_html/wp-settings.php on line 84

Indeed, there is no advanced-cache.php in that directory (not sure if ever was), but absolutely the same configuration works on a different server without warnings.

Will appreciate any help. Thanks.

about 4 years ago · Santiago Trujillo
3 Respostas
Responde à pergunta

0

I think you have installed Advance cache plugin, and a setting WP_CACHE

define('WP_CACHE', true);
// or may be it is a file like, if so then comment this line,
// below is the statement which need to be commented
// define('WP_CACHE', is_file(__DIR__.'/wp-content/advanced-cache.php'));

to prevent this error you can set to false, like

define('WP_CACHE', false);
about 4 years ago · Santiago Trujillo Relatório

0

../wp-content/advanced-cache.php is generated dynamically when any caching plugin gets installed, especially caching plugins from wordpress.org use that. So you will not be able to find that file on fresh WP installation.

Please refer link

In your case, I assume that you have installed some caching plugin and due to any reason advanced-cache.php file is deleted from folder or there may be permission issue for executing the file. That's why when your caching plugin tries to search and include advanced-cache.php file than it cannot find it or execute it and this throws the error you mentioned.

For further possibilities and suggestions, I need to know which caching plugin do you use. Let me know if you want me to help further...

about 4 years ago · Santiago Trujillo Relatório

0

In addition to setting the WP-CACHE to false on the wp-config file, you may also need to rename or remove the wp-contet/advanced-cache.php file.

about 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda