Jump to content

Erreur compile smarty


pmesoft

Recommended Posts

Bonjour a tous,

 

Voici mon problème :

 

j'ai créer mon propre thème mais voilas jusqu'ici tout fonctionne sauf qu'il m'affiche cette erreur qui après deux jours de recherche me rend chèvre.

 

PS 1.4.5.1

 

 

 


Fatal error : Call to undefined method Category::getProductsByCategoryName() in /home/xxx/xxx/tools/smarty/compile/9e76ac855adaa69f91a0a387bd0fec44b92f81c2.file.header_slide.tpl.php</b>
on line 199

 

et ce que j'ai dans mon tpl est ceci :

 

{assign var='products' value=Category::getProductsByCategoryName('home',(int)($cookie->id_lang), 10)}

 

Quelqu'un saurait il me guider ?

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...