Jump to content

Recommended Posts

Posted (edited)

Hallo, da es so langsam Zeit wurde, sind wir gerade dabei unseren Shop auf 1.7.6.3 einzurichten. Es funktioniert soweit auch alles wunderbar.
Heute ist mir allerdings aufgefallen das ich die Kontaktseite nicht finden kann. Wenn ich sie unter ../kontakt aufrufe erhalte ich folgende Fehler im Debugmodus.

 

Ich nutze das Zerotheme

Quote

(1/1) Exception

Module `ps_contactinfo` is not a WidgetInterface.

in smartyfront.config.inc.php line 76

at withWidget(array('hook' => 'displayLeftColumn'), object(Closure))in smartyfront.config.inc.php line 93

at smartyWidget(array('name' => 'ps_contactinfo', 'hook' => 'displayLeftColumn'), object(SmartyCustomTemplate))in SmartyLazyRegister.php line 83

at SmartyLazyRegister->__call('smartyWidget', array(array('name' => 'ps_contactinfo', 'hook' => 'displayLeftColumn'), object(SmartyCustomTemplate)))in 5cb787c38b89da1c1db9e5d2f62a166a73f5a60d_2.file.contact.tpl.php line 78

at Block_20078132915e68e9c32c6201_88733464->callBlock(object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_20078132915e68e9c32c6201_88733464), object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 184

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyCustomTemplate), object(Block_20078132915e68e9c32c6201_88733464), object(Block_3236837345e68e9c32ed568_54153441))in smarty_internal_runtime_inheritance.php line 186

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyCustomTemplate), object(Block_3236837345e68e9c32ed568_54153441))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyCustomTemplate), 'Block_3236837345e68e9c32ed568_54153441', 'left_column', 7)in adc3cd8dc496f0928cb37643314bd3727bdc3c44_2.file.layout-both-columns.tpl.php line 351

at Block_13056143195e68e9c32ecad9_40333294->callBlock(object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_13056143195e68e9c32ecad9_40333294), object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 184

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyCustomTemplate), object(Block_13056143195e68e9c32ecad9_40333294))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyCustomTemplate), 'Block_13056143195e68e9c32ecad9_40333294', 'main_content')in adc3cd8dc496f0928cb37643314bd3727bdc3c44_2.file.layout-both-columns.tpl.php line 94

at content_5e68e9c32f38a5_01833072(object(SmartyCustomTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyCustomTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyCustomTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render()in smarty_internal_template.php line 385

at Smarty_Internal_Template->_subTemplateRender('layouts/layout-both-columns.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyCustomTemplate), 'layouts/layout-both-columns.tpl')in d3e86a9f2e4d0b9b4df3fe544659e69a619c4922_2.file.layout-left-column.tpl.php line 33

at content_5e68e9c32dea89_19920411(object(SmartyCustomTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyCustomTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyCustomTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render()in smarty_internal_template.php line 385

at Smarty_Internal_Template->_subTemplateRender('layouts/layout-left-column.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyCustomTemplate), 'layouts/layout-left-column.tpl')in f2a5035d8bf3a1dc882c294ff346fb5279ba95d0_2.file.page.tpl.php line 34

at content_5e68e9c32d7319_09286553(object(SmartyCustomTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyCustomTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyCustomTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render()in smarty_internal_template.php line 385

at Smarty_Internal_Template->_subTemplateRender('page.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyCustomTemplate), 'page.tpl')in 5cb787c38b89da1c1db9e5d2f62a166a73f5a60d_2.file.contact.tpl.php line 43

at content_5e68e9c32ca933_78231801(object(SmartyCustomTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyCustomTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyCustomTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render(false, 0)in smarty_internal_templatebase.php line 232

at Smarty_Internal_TemplateBase->_execute(object(SmartyCustomTemplate), null, 'layouts/layout-left-column.tpl', null, 0)in smarty_internal_templatebase.php line 116

at Smarty_Internal_TemplateBase->fetch('contact.tpl', null, 'layouts/layout-left-column.tpl', null, false, true, false)in SmartyCustom.php line 112

at SmartyCustomCore->fetch('contact.tpl', null, 'layouts/layout-left-column.tpl')in FrontController.php line 683

at FrontControllerCore->smartyOutputContent('contact.tpl')in FrontController.php line 667

at FrontControllerCore->display()in Controller.php line 312

at ControllerCore->run()in Dispatcher.php line 515

at DispatcherCore->dispatch()in index.php line 28

 

Edited by Kaziii (see edit history)

Share this post


Link to post
Share on other sites

Hast du mal den Cache geleert oder mal testweise abgeschaltet?

Share this post


Link to post
Share on other sites

Der Cache ist zum einrichten deaktiviert.

Share this post


Link to post
Share on other sites
Posted (edited)

Das "smarty" in fast jeder Zeile hat mich verwirrt. Bin deshalb davon ausgegangen das der smarty cache aktiviert ist.

Ansonsten, welche PHP Version nutzt du und von welcher Version hast du auf die 1.7.6.3 geupdatet?

Edited by Shad86 (see edit history)

Share this post


Link to post
Share on other sites

Ne leider nicht. Sonst funktioniert auch alles.

Php: 7.2.14

Wir hatten vorher Prestashop 1.6.1.22

 

Share this post


Link to post
Share on other sites

Irgendwas stimmt mit dem Modul ps_contactinfo nicht - die Fehlermeldung besagt ja dass dieses kein Widget ist, das ist es aber eigentlich schon. Ich würde mal probieren das Modul zu reseten oder zu de-/neuinstallieren.

Ein Erzwungenes Neugeneireren der Smarty Cache Files (die gibts auch bei dir) durch umbennen von /var/cache zu /var/cache_old kann auch helfen.

Share this post


Link to post
Share on other sites

Vielen Dank. Es hat geklappt. Das Modul wurde resetet und es hat funktioniert 😃

Obwohl ich ja der Meinung war, ich hätte es bereits resetet😅

Share this post


Link to post
Share on other sites
Posted (edited)

Jetzt bekomme ich das Formular angezeigt, wenn ich es aber abschicke, passiert folgendes.

Edit: Der Fehler wird schenibar nur im Debugmodus angezeigt. Stelle ich ihn aus funktioniert alles.

Quote

(1/1) ContextErrorException

Notice: Undefined index: id_lang

in estimateddelivery.php line 3332

at Estimateddelivery->hookSendMailAlterTemplateVars(array('template' => 'contact', 'template_vars' => array('{order_name}' => '-', '{attached_file}' => '-', '{message}' => 'Test 11', '{email}' => 'test@test.de', '{product_name}' => ''), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 2))in Hook.php line 970

at HookCore::coreCallHook(object(Estimateddelivery), 'hooksendMailAlterTemplateVars', array('template' => 'contact', 'template_vars' => array('{order_name}' => '-', '{attached_file}' => '-', '{message}' => 'Test 11', '{email}' => 'test@test.de', '{product_name}' => ''), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 2))in Hook.php line 355

at HookCore::callHookOn(object(Estimateddelivery), 'sendMailAlterTemplateVars', array('template' => 'contact', 'template_vars' => array('{order_name}' => '-', '{attached_file}' => '-', '{message}' => 'Test 11', '{email}' => 'test@test.de', '{product_name}' => ''), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 2))in Hook.php line 907

at HookCore::exec('sendMailAlterTemplateVars', array('template' => 'contact', 'template_vars' => array('{order_name}' => '-', '{attached_file}' => '-', '{message}' => 'Test 11', '{email}' => 'test@test.de', '{product_name}' => ''), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 2))in Mail.php line 224

at MailCore::send(1, 'contact', 'Nachricht aus dem Kontaktformular [no_sync]', array('{order_name}' => '-', '{attached_file}' => '-', '{message}' => 'Test 11', '{email}' => 'test@test.de', '{product_name}' => ''), 'service@sondengaengershop.de', 'Kundenservice', null, null, null, null, '/var/www/clients/client3867/web11395/web/mails/', false, 1, null, 'test@test.de')in contactform.php line 626

at Contactform->sendMessage()in contactform.php line 291

at Contactform->getWidgetVariables(null, array())in contactform.php line 275

at Contactform->renderWidget(null, array())in Hook.php line 975

at HookCore::coreRenderWidget(object(Contactform), null, array())in smartyfront.config.inc.php line 91

at {closure}(object(Contactform), array())in smartyfront.config.inc.php line 82

at withWidget(array(), object(Closure))in smartyfront.config.inc.php line 93

at smartyWidget(array('name' => 'contactform'), object(SmartyCustomTemplate))in SmartyLazyRegister.php line 83

at SmartyLazyRegister->__call('smartyWidget', array(array('name' => 'contactform'), object(SmartyCustomTemplate)))in 5cb787c38b89da1c1db9e5d2f62a166a73f5a60d_2.file.contact.tpl.php line 98

at Block_19191093325e690794640e55_85204263->callBlock(object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_19191093325e690794640e55_85204263), object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 184

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyCustomTemplate), object(Block_19191093325e690794640e55_85204263), object(Block_11212396995e690794653267_17050361))in smarty_internal_runtime_inheritance.php line 186

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyCustomTemplate), object(Block_11212396995e690794653267_17050361))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyCustomTemplate), 'Block_11212396995e690794653267_17050361', 'page_content', 1)in f2a5035d8bf3a1dc882c294ff346fb5279ba95d0_2.file.page.tpl.php line 96

at Block_16683931225e690794652605_41289375->callBlock(object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_16683931225e690794652605_41289375), object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 184

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyCustomTemplate), object(Block_16683931225e690794652605_41289375))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyCustomTemplate), 'Block_16683931225e690794652605_41289375', 'page_content_container', 1)in f2a5035d8bf3a1dc882c294ff346fb5279ba95d0_2.file.page.tpl.php line 178

at Block_9522096725e69079464f3f6_36347986->callBlock(object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_9522096725e69079464f3f6_36347986), object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 184

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyCustomTemplate), object(Block_9522096725e69079464f3f6_36347986), object(Block_5106037405e69075c38b577_78138852))in smarty_internal_runtime_inheritance.php line 186

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyCustomTemplate), object(Block_5106037405e69075c38b577_78138852))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyCustomTemplate), 'Block_5106037405e69075c38b577_78138852', 'content', 7)in adc3cd8dc496f0928cb37643314bd3727bdc3c44_2.file.layout-both-columns.tpl.php line 290

at Block_20965595265e69075c38ae82_81020246->callBlock(object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_20965595265e69075c38ae82_81020246), object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 184

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyCustomTemplate), object(Block_20965595265e69075c38ae82_81020246))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyCustomTemplate), 'Block_20965595265e69075c38ae82_81020246', 'content_wrapper', 7)in adc3cd8dc496f0928cb37643314bd3727bdc3c44_2.file.layout-both-columns.tpl.php line 356

at Block_7208293535e69075c389b16_00976384->callBlock(object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_7208293535e69075c389b16_00976384), object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 184

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyCustomTemplate), object(Block_7208293535e69075c389b16_00976384))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyCustomTemplate), 'Block_7208293535e69075c389b16_00976384', 'main_content')in adc3cd8dc496f0928cb37643314bd3727bdc3c44_2.file.layout-both-columns.tpl.php line 94

at content_5e69075c3907f2_72858685(object(SmartyCustomTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyCustomTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyCustomTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render()in smarty_internal_template.php line 385

at Smarty_Internal_Template->_subTemplateRender('layouts/layout-both-columns.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyCustomTemplate), 'layouts/layout-both-columns.tpl')in d3e86a9f2e4d0b9b4df3fe544659e69a619c4922_2.file.layout-left-column.tpl.php line 33

at content_5e69075c37dd73_51179218(object(SmartyCustomTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyCustomTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyCustomTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render()in smarty_internal_template.php line 385

at Smarty_Internal_Template->_subTemplateRender('layouts/layout-left-column.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyCustomTemplate), 'layouts/layout-left-column.tpl')in f2a5035d8bf3a1dc882c294ff346fb5279ba95d0_2.file.page.tpl.php line 34

at content_5e690794654f27_35930902(object(SmartyCustomTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyCustomTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyCustomTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render()in smarty_internal_template.php line 385

at Smarty_Internal_Template->_subTemplateRender('page.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyCustomTemplate), 'page.tpl')in 5cb787c38b89da1c1db9e5d2f62a166a73f5a60d_2.file.contact.tpl.php line 43

at content_5e690794641c66_79246283(object(SmartyCustomTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyCustomTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyCustomTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render(false, 0)in smarty_internal_templatebase.php line 232

at Smarty_Internal_TemplateBase->_execute(object(SmartyCustomTemplate), null, 'layouts/layout-left-column.tpl', null, 0)in smarty_internal_templatebase.php line 116

at Smarty_Internal_TemplateBase->fetch('contact.tpl', null, 'layouts/layout-left-column.tpl', null, false, true, false)in SmartyCustom.php line 112

at SmartyCustomCore->fetch('contact.tpl', null, 'layouts/layout-left-column.tpl')in FrontController.php line 683

at FrontControllerCore->smartyOutputContent('contact.tpl')in FrontController.php line 667

at FrontControllerCore->display()in Controller.php line 312

at ControllerCore->run()in Dispatcher.php line 515

at DispatcherCore->dispatch()in index.php line 28

 

Edited by Kaziii (see edit history)

Share this post


Link to post
Share on other sites
19 hours ago, Kaziii said:

Jetzt bekomme ich das Formular angezeigt, wenn ich es aber abschicke, passiert folgendes.

Edit: Der Fehler wird schenibar nur im Debugmodus angezeigt. Stelle ich ihn aus funktioniert alles.

Das ist nur eine "Notice" und kein harter Fehler.  Kommt aus dem Modul "Estimateddelivery" - kannst die Meldung ja mal dem Modul-Entwickler schicken

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More