Jump to content

Problema ao clicar em categorias (no menu), erro no Smarty Cache


Recommended Posts

A mensagem que aparece na página de categorias, antes da lista de produtos é esta abaixo:

 

 

 

 

Notice: Undefined index: display_category_title in/home/site/public_html/cache/smarty/compile/9e/16/04/9e1604cf813bd3adf3911cf8034fe3214351e56f.file.category.tpl.php on line53

Notice: Trying to get property of non-object in/home/site/public_html/cache/smarty/compile/9e/16/04/9e1604cf813bd3adf3911cf8034fe3214351e56f.file.category.tpl.php on line53

Notice: Undefined index: display_category_desc in/home/sitepublic_html/cache/smarty/compile/9e/16/04/9e1604cf813bd3adf3911cf8034fe3214351e56f.file.category.tpl.php on line64

Notice: Trying to get property of non-object in/home/site/public_html/cache/smarty/compile/9e/16/04/9e1604cf813bd3adf3911cf8034fe3214351e56f.file.category.tpl.php on line64

Notice: Undefined index: display_category_image in/home/site/public_html/cache/smarty/compile/9e/16/04/9e1604cf813bd3adf3911cf8034fe3214351e56f.file.category.tpl.php on line64

Notice: Trying to get property of non-object in/home/site/public_html/cache/smarty/compile/9e/16/04/9e1604cf813bd3adf3911cf8034fe3214351e56f.file.category.tpl.php on line64

Notice: Undefined index: display_subcategory in/home/site/public_html/cache/smarty/compile/9e/16/04/9e1604cf813bd3adf3911cf8034fe3214351e56f.file.category.tpl.php on line101

Notice: Trying to get property of non-object in/home/site/public_html/cache/smarty/compile/9e/16/04/9e1604cf813bd3adf3911cf8034fe3214351e56f.file.category.tpl.php on line101

Link to comment
Share on other sites

O erro somente apareceu agora, pois vc. ativando o cache Prestashop compila o seu template. Vc, deverá dar atencao aos erros mesmo, debugando as linhas em questao no ficheiro category.tpl, pois sao erros nao de cahce, mas erros de php mesmo. Desative e limpe o cache em  parametros avancados -> desempenho -> no top o botao "limpar cache" e limpe as linhas erroneas, idependente se vc. ativa o cache ou nao.

Link to comment
Share on other sites

Olá, a questão do cache está esclarecida, já limpei e realmente não resolveu.

 

Existe alguma forma de identificar e solicitar esse problema no PHP?

Conforme verifiquei o arquivo TPL das categorias, me parece estar tudo certo, tanto no do tema, como no do PS na pasta principal.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...