Jump to content

Prestashop 1.7.6.5 - Debug-Modus wirft sehr viele Fehler ...


Recommended Posts

Hallo Zusammen,

wenn ich auf "Debug-Modus" schalte wirft mein Shop sehr sehr viele Fehler aus! Viell. sind diese ursächlich für meine ganzen Probleme!

Der Shop zeigt sich auch gar nicht - wenn ich im Debug-Modus starte - siehe Bilder und Fehler-Übersicht unten!

Wie kann es zu solchen Fehlern kommen? 

Ich hatte ein Upgrade gemacht von 1.7.5.2 auf 1.7.6.5 und zuvor eigentlich nur ein paar PDF-Dateien geändert!

Wie kann ich diese beheben - wie geht man da am Besten vor?

Gibt es eine Chance den "Shop zu retten" - oder muss ich nochmal komplett von vorne beginnen?

Danke vorab für Eure Hilfe!

BG MB

---

Fehlerbild:

image.png.9911d15821fe1615c2d01f46a1a78e8e.png

Fehler-Übersicht:

Whoops, looks like something went wrong.

(1/1) ContextErrorException

Warning: Declaration of Ps_EmailsubscriptionOverride::newsletterRegistration() should be compatible with Ps_Emailsubscription::newsletterRegistration($hookName = NULL)

in ps_emailsubscription.php

at ErrorHandler->handleError(2, 'Declaration of Ps_EmailsubscriptionOverride::newsletterRegistration() should be compatible with Ps_Emailsubscription::newsletterRegistration($hookName = NULL)', '/var/www/vhosts/hosting139332.a2e64.netcup.net/shop.iproduq.com/override/modules/ps_emailsubscription/ps_emailsubscription.php', 0, array('module_name' => 'ps_emailsubscription', 'r' => false))in Module.php line 1132

at include_once()in Module.php line 1132

at ModuleCore::coreLoadModule('ps_emailsubscription')in Module.php line 1120

at ModuleCore::getInstanceByName('ps_emailsubscription')in Hook.php line 884

at HookCore::exec('displayFooterBefore', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart)), null)in smarty.config.inc.php line 167

at smartyHook(array('h' => 'displayFooterBefore'), object(SmartyDevTemplate))in SmartyLazyRegister.php line 83

at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayFooterBefore'), object(SmartyDevTemplate)))in 06615cb48f6c09e781f4ffc6588011051e2ce706_2.file.footer.tpl.php line 74

at Block_12532372755edf66c6f2bb35_44739792->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_12532372755edf66c6f2bb35_44739792), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_12532372755edf66c6f2bb35_44739792))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_12532372755edf66c6f2bb35_44739792', 'hook_footer_before')in 06615cb48f6c09e781f4ffc6588011051e2ce706_2.file.footer.tpl.php line 30

at content_5edf66c6f33f26_77930565(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 216

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

at Smarty_Internal_Template->_subTemplateRender('file:_partials/footer.tpl', null, 'layouts/layout-full-width.tpl', 0, 31536000, array(), 0, false)in bbee10a63281471aee9405ed3814093ecde00f39_2.file.layout-both-columns.tpl.php line 333

at Block_19456935805edf66c6d80da2_38479769->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_19456935805edf66c6d80da2_38479769), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_19456935805edf66c6d80da2_38479769))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_19456935805edf66c6d80da2_38479769', 'footer')in bbee10a63281471aee9405ed3814093ecde00f39_2.file.layout-both-columns.tpl.php line 102

at content_5edf66c6d86973_65902420(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 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-full-width.tpl', 0, 31536000, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-both-columns.tpl')in af71080ee1583a5e6a5ad80ca83a4b583db315ec_2.file.layout-full-width.tpl.php line 42

at content_5edf66c6d54fa9_83533199(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 216

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

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

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-full-width.tpl')in 3972ddc1acff294a4574c11e36b8712fccca2850_2.file.page.tpl.php line 33

at content_5edf66c6d3c6b9_48996227(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 216

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

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

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'page.tpl')in bba73c3b6551950a88acd91ddf2e562a6cbc09d9_2.file.index.tpl.php line 33

at content_5edf66c6d1e928_18038617(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 216

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

at Smarty_Internal_TemplateBase->_execute(object(SmartyDevTemplate), null, 'layouts/layout-full-width.tpl', null, 0)in smarty_internal_templatebase.php line 116

at Smarty_Internal_TemplateBase->fetch('index.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false)in SmartyDev.php line 40

at SmartyDev->fetch('index.tpl', null, 'layouts/layout-full-width.tpl')in FrontController.php line 683

at FrontControllerCore->smartyOutputContent('index.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

 

 

 

 

Link to comment
Share on other sites

2 hours ago, [email protected] said:

Ps_EmailsubscriptionOverride:

Da ist nur ein Fehler und zwar von einem Override der nicht mit deiner Prestashop bzw. Modul Version kompatibel ist. Du solltest das entsprechende Modul indentifizieren und entfernen oder den Entwickler um Hilfe bitten.  Hinweise dazu findet man oft im Override selbst, alternativ kannst du den auch direkt dort entfernen:

/override/modules/ps_emailsubscription/ps_emailsubscription.php

P.S. Es ist kein "harter" Fehler sondern nur eine Warnung die bei abgeschalteten Debug Modus ignoriert wird...

Edited by JBW
P.S. Es ist kein "harter" Fehler sondern nur eine Warnung die bei abgeschalteten Debug Modus ignoriert wird... (see edit history)
Link to comment
Share on other sites

15 minutes ago, [email protected] said:

Sorry bitte - was bedeutet "override" -

Mit ovrrides können sowohl Standard-Prestashop Funktionen als auch Module "überschrieben" werden. In deinem Fall wird das Verhalten des Newslettter-Anmelde Modul überschrieben. Hier die Doku
https://devdocs.prestashop.com/1.7/modules/concepts/overrides/

 

18 minutes ago, [email protected] said:

Wie kann ich das Modul identifizieren - habe leider keinen Plan dafür!

Öffne die Datei /override/modules/ps_emailsubscription/ps_emailsubscription.php in einem Texteditor - oft steht oben ein Kommentar mit einem Verweis auf das Modul dabei. Ich könnte mir z.B. ein Captcha Modul oder sowas wie Mailchimp vorstellen

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