fra_000111 Posted December 26, 2022 Share Posted December 26, 2022 Hi. when going to debug mode i see this error "Error ContextErrorException Undefined Index: Product", i have search on other forum and its not a big problem but i would like to know if there is a solution, im not able to fix it! I tried myself with no success Link to comment Share on other sites More sharing options...
PrestaServicePro Posted December 26, 2022 Share Posted December 26, 2022 Hello, it seems variable called on head.tpl but not defined in php Link to comment Share on other sites More sharing options...
fra_000111 Posted December 26, 2022 Author Share Posted December 26, 2022 hi thanks, wich variable is called? also possible solution? Link to comment Share on other sites More sharing options...
fra_000111 Posted December 26, 2022 Author Share Posted December 26, 2022 I understand what is happening, i have added time ago some custom SEO meta tags in <head> that dont exist for example in the homepage but only in product pages, and it throw error if the variable dont exist. Link to comment Share on other sites More sharing options...
PrestaServicePro Posted December 26, 2022 Share Posted December 26, 2022 (edited) yes and it happens when you modify or add module. and you can add condition e.g: if &page.page_name == product Edited December 26, 2022 by PrestaServicePro (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now