Did987 Posted March 25, 2022 Share Posted March 25, 2022 As i am implementing a payment module i get the following error uppon checkout: ContextErrorException Notice: Undefined index: tos_cms in 7ed9e41cc2dae7762e19077617898a870083e73d_2.file.footer.tpl.php line 37 ** if i deactivate the module, and pay by other means, this error does not happen any ideas on how to fix this? Link to comment Share on other sites More sharing options...
Ress Posted March 30, 2022 Share Posted March 30, 2022 This is not a fatal error, ie if you disable debugging, the site will work. However, it is ok to solve the problem. I think you have an array. and you want to display the value from the tos_cms key, but it does not exist, and to prevent this, it is good to check this beforehand. {if isseet($your_array.tos_cms)} //your code {/if} 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