Jump to content

ContextErrorException Notice: Undefined index: tpl_dir


Recommended Posts

I'm trying my prestashop ecommerce 1.7.4.2 and know I'm getting the following error when I try to finalize a buying process.

Whoops, looks like something went wrong.
(1/1) ContextErrorException
Notice: Undefined index: tpl_dir

in bfef76c77571de1a6cd2e9e4801e1472f4ee8b54_2.module.webpayviewstemplatesfront.php line 29
at content_5bbec90734b909_19704711(object(SmartyDevTemplate))
in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))
in smarty_template_compiled.php line 114
at Smarty_Template_Compiled->render(object(SmartyDevTemplate))
in smarty_internal_template.php line 206
at Smarty_Internal_Template->render(false, 0)
in smarty_internal_templatebase.php line 232
at Smarty_Internal_TemplateBase->_execute('module:webpay/views/templates/front/payment_execution.tpl', null, 'layouts/layout-full-width.tpl', null, 0)
in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase->fetch('module:webpay/views/templates/front/payment_execution.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false)
in SmartyDev.php line 41
at SmartyDev->fetch('module:webpay/views/templates/front/payment_execution.tpl', null, 'layouts/layout-full-width.tpl')
in FrontController.php line 679
at FrontControllerCore->smartyOutputContent('module:webpay/views/templates/front/payment_execution.tpl')
in FrontController.php line 663
at FrontControllerCore->display()
in Controller.php line 275
at ControllerCore->run()
in Dispatcher.php line 428
at DispatcherCore->dispatch()
in index.php line 28

 

Anyhelp on what is going wrong and how I can solve it?

Link to comment
Share on other sites

Yup,

 

That webpay is a module you added that is not up to speed for 1.7.4.2 as the way it works is a tad different code wise. Everything has to use ienum now and that module is not. Go see if they have an update, and if they don't disable it and try the paypal free module.

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