Mikuteit Posted March 22, 2021 Share Posted March 22, 2021 (edited) Hallo! Nachdem ich, wie beschrieben vorgegangen bin, habe ich eine Testbestellung gemacht. Danach, kommen nur noch fehler Meldungen... Die Änderung, habe ich wieder zurück gesetzt. Die Fehler bleiben: Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /www/htdocs/domain/src/Adapter/EntityMapper.php on line 99 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /www/htdocs/domain/src/Adapter/EntityMapper.php on line 99 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /www/htdocs/domain/src/Adapter/EntityMapper.php on line 99 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /www/htdocs/domain/src/Adapter/EntityMapper.php on line 99 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /www/htdocs/domain/src/Adapter/EntityMapper.php on line 99 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /www/htdocs/domain/src/Adapter/EntityMapper.php on line 99 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /www/htdocs/domain/src/Adapter/EntityMapper.php on line 99 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /www/htdocs/domain/src/Adapter/EntityMapper.php on line 99 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /www/htdocs/domain/src/Adapter/EntityMapper.php on line 99 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /www/htdocs/domain/classes/module/Module.php on line 335 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /www/htdocs/domain/classes/module/Module.php on line 335 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /www/htdocs/domain/classes/module/Module.php on line 335 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /www/htdocs/domain/classes/module/Module.php on line 335 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /www/htdocs/domain/classes/module/Module.php on line 335 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /www/htdocs/domain/classes/module/Module.php on line 335 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /www/htdocs/domain/classes/module/Module.php on line 335 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /www/htdocs/domain/classes/module/Module.php on line 335 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /www/htdocs/domain/classes/module/Module.php on line 335 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /www/htdocs/domain/classes/module/Module.php on line 335 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /www/htdocs/domain/classes/module/Module.php on line 335 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /www/htdocs/domain/classes/module/Module.php on line 335 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /www/htdocs/domain/classes/module/Module.php on line 335 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /www/htdocs/domain/classes/module/Module.php on line 335 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /www/htdocs/domain/classes/module/Module.php on line 335 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /www/htdocs/domain/classes/module/Module.php on line 335 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /www/htdocs/domain/classes/module/Module.php on line 335 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /www/htdocs/domain/classes/module/Module.php on line 335 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /www/htdocs/domain/classes/module/Module.php on line 335 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /www/htdocs/domain/classes/module/Module.php on line 335 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /www/htdocs/domain/src/Adapter/EntityMapper.php on line 99 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /www/htdocs/domain/src/Adapter/EntityMapper.php on line 99 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /www/htdocs/domain/src/Adapter/EntityMapper.php on line 99 Whoops, looks like something went wrong. (1/1) ContextErrorException Warning: A non-numeric value encountered in ac55424df60b3f53c0d39db6b3f1cd24d58a9659_2.file.product.tpl.php line 183 at Block_107243730260584ef27d0b05_49728591->callBlock(object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_107243730260584ef27d0b05_49728591), object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyCustomTemplate), object(Block_107243730260584ef27d0b05_49728591))in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyCustomTemplate), 'Block_107243730260584ef27d0b05_49728591', 'product_buy', 0)in ac55424df60b3f53c0d39db6b3f1cd24d58a9659_2.file.product.tpl.php line 279 at Block_38363300660584ef27c15c6_61308486->callBlock(object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_38363300660584ef27c15c6_61308486), object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyCustomTemplate), object(Block_38363300660584ef27c15c6_61308486))in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyCustomTemplate), 'Block_38363300660584ef27c15c6_61308486', 'product_miniature_item')in ac55424df60b3f53c0d39db6b3f1cd24d58a9659_2.file.product.tpl.php line 29 at content_60584ef27d5e85_57513136(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('file:catalog/_partials/miniatures/product.tpl', 'ps_newproducts|1|3|1_2_3|1', 'extra_electro', 0, 3600, array('product' => object(ProductListingLazyArray)), 0, true)in 4a8df44403a47041b050fac755e17268c2a7c3e7_2.module.psnewproductsviewstemplat.php line 47 at content_60584ef27bef34_09519047(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, null, null, 0)in smarty_internal_templatebase.php line 116 at Smarty_Internal_TemplateBase->fetch(null, null, null, null, false, true, false)in SmartyCustomTemplate.php line 44 at SmartyCustomTemplateCore->fetch()in Module.php line 2480 at ModuleCore->fetch('module:ps_newproducts/views/templates/hook/ps_newproducts.tpl', 'ps_newproducts|1|3|1_2_3|1')in ps_newproducts.php line 206 at Ps_NewProducts->renderWidget('displayHome', array('cookie' => object(Cookie), 'cart' => object(Cart)))in Hook.php line 995 at HookCore::coreRenderWidget(object(Ps_NewProducts), 'displayHome', array('cookie' => object(Cookie), 'cart' => object(Cart)))in Hook.php line 947 at HookCore::exec('displayHome')in IndexController.php line 39 at IndexControllerCore->initContent()in Controller.php line 306 at ControllerCore->run()in Dispatcher.php line 518 at DispatcherCore->dispatch() Cahce, habe ich schon gelöscht. Alte Datenbank Backup, habe ich, aber wenn ich das einspiele, bleibt der Fehler. Original Datei wieder hergestellt, keine Änderung... Shop Version die neuste...1.7.7.2 Php 7.4 Kann mir einer helfen? Möchte eigentlich nicht das komplette Backup zurück Spielen müssen... Inzwischen vermute ich, das es nichts mit der Änderung, sondern mit einem Schnellkauf Modul zu tun hat. Das habe ich parallel getestet. Deshalb die Frage: Wie kann ich Module per FTp Deaktivieren? Edited March 22, 2021 by Mikuteit (see edit history) Link to comment Share on other sites More sharing options...
JBW Posted March 22, 2021 Share Posted March 22, 2021 40 minutes ago, Mikuteit said: Shop Version die neuste...1.7.7.2 Php 7.4 Prestashop ist nur bis PHP 7.3. kompatibel. Die meisten Warnungen kommen von deiner PHP Version. Die andere Warung kommt vom Modul Ps_NewProducts - sollte aber keinen Abbruch erzeugen wenn der Debug Modus deaktiviert ist 1 Link to comment Share on other sites More sharing options...
rictools Posted March 22, 2021 Share Posted March 22, 2021 Prestashop 1.7.7.x funktioniert nur bis PHP 7.3. 1 Link to comment Share on other sites More sharing options...
Mikuteit Posted March 22, 2021 Author Share Posted March 22, 2021 Ne, läuft bei mir Fehlerfrei unter php 7.4. Wenn ich den umstelle auf PHP7.3, geht gar nichts mehr... Lief ja auch einwandfrei vor dieser Änderung.. Das kann es also nicht sein... Link to comment Share on other sites More sharing options...
rictools Posted March 22, 2021 Share Posted March 22, 2021 Nach der Umstellung mußt du wahrscheinlich alle Caches löschen, evtl. auch direkt den Ordner var/cache. Mit PHP 7.4 wirst du immer wieder rätselhafte Probleme bekommen und es macht wenig Sinn dir hier im Forum unter diesen Voraussetzungen helfen zu wollen. 1 Link to comment Share on other sites More sharing options...
Mikuteit Posted March 22, 2021 Author Share Posted March 22, 2021 Habe nach der Umstellung die Cache gelöscht. Werde das ganze aber dann nochmal testen.... Link to comment Share on other sites More sharing options...
Mikuteit Posted March 23, 2021 Author Share Posted March 23, 2021 Jetzt läuft es wieder! Aber noch nicht wie gewollt.. Kann ins Admin Panel nicht rein. Shop selbst, scheint ok zu sein... Beim admin Panel kommt jetzt ne Fehlermeldung: PrestaShop\PrestaShop\Core\Localization\Exception\ LocalizationException in src/Core/Localization/Number/Formatter.php (line 108) $this->numberSpecification = $specification; try { $decimalNumber = $this->prepareNumber($number); } catch (SPLInvalidArgumentException $e) { throw new LocalizationException('Invalid $number parameter: ' . $e->getMessage(), 0, $e); } /* * We need to work on the absolute value first. * Then the CLDR pattern will add the sign if relevant (at the end). Formatter->format('35,31 €', object(Price)) in src/Core/Localization/Locale.php (line 154) Locale->formatPrice('35,31 €', 'EUR') in classes/Product.php (line 3743) ProductCore::convertPrice(array('price' => '35,31 €'), object(SmartyCustomTemplate)) in classes/Smarty/SmartyLazyRegister.php (line 83) SmartyLazyRegister->__call('convertPrice', array(array('price' => '35,31 €'), object(SmartyCustomTemplate))) in var/cache/dev/smarty/compile/aa/7e/4f/aa7e4f735cf99c2c9b1d1c9306f617e5d5b5994e_0.file.top_column.tpl.php (line 71) content_6059a77b9de7f2_15834543(object(SmartyCustomTemplate)) in vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php (line 123) Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyCustomTemplate)) in vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php (line 114) Smarty_Template_Compiled->render(object(SmartyCustomTemplate)) in vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php (line 216) Smarty_Internal_Template->render(false, 0) in vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php (line 232) Smarty_Internal_TemplateBase->_execute(object(SmartyCustomTemplate), null, null, null, 0) in vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php (line 116) Smarty_Internal_TemplateBase->fetch(null, null, null, null, false, true, false) in classes/Smarty/SmartyCustomTemplate.php (line 44) SmartyCustomTemplateCore->fetch() in classes/module/Module.php (line 2439) ModuleCore->display('/modules/jxoneclickorder/', 'views/templates/admin/top_column.tpl') in modules/jxoneclickorder/jxoneclickorder.php (line 1799) Jxoneclickorder->hookBackOfficeTop(array('cookie' => object(Cookie), 'cart' => null, 'altern' => 1)) in classes/Hook.php (line 990) HookCore::coreCallHook(object(Jxoneclickorder), 'hookBackOfficeTop', array('cookie' => object(Cookie), 'cart' => null, 'altern' => 1)) in classes/Hook.php (line 421) HookCore::callHookOn(object(Jxoneclickorder), 'displayBackOfficeTop', array('cookie' => object(Cookie), 'cart' => null, 'altern' => 1)) in classes/Hook.php (line 927) HookCore::exec('displayBackOfficeTop') in classes/controller/AdminController.php (line 1957) AdminControllerCore->initHeader() in controllers/admin/AdminLoginController.php (line 156) AdminLoginControllerCore->initContent() in classes/controller/Controller.php (line 306) ControllerCore->run() in classes/Dispatcher.php (line 518) DispatcherCore->dispatch() in admin432fk7fuy/index.php (line 93) InvalidArgumentException "35,31 €" cannot be interpreted as a number in vendor/prestashop/decimal/src/Builder.php (line 40) Builder::parseNumber('35,31 €') in vendor/prestashop/decimal/src/Number.php (line 73) Number->__construct('35,31 €') in src/Core/Localization/Number/Formatter.php (line 149) * @return DecimalNumber * The prepared number */ protected function prepareNumber($number) { $decimalNumber = new DecimalNumber((string) $number); $precision = $this->numberSpecification->getMaxFractionDigits(); $roundedNumber = (new Rounding())->compute( $decimalNumber, $precision, $this->roundingMode Formatter->prepareNumber('35,31 €') in src/Core/Localization/Number/Formatter.php (line 106) Formatter->format('35,31 €', object(Price)) in src/Core/Localization/Locale.php (line 154) Locale->formatPrice('35,31 €', 'EUR') in classes/Product.php (line 3743) ProductCore::convertPrice(array('price' => '35,31 €'), object(SmartyCustomTemplate)) in classes/Smarty/SmartyLazyRegister.php (line 83) SmartyLazyRegister->__call('convertPrice', array(array('price' => '35,31 €'), object(SmartyCustomTemplate))) in var/cache/dev/smarty/compile/aa/7e/4f/aa7e4f735cf99c2c9b1d1c9306f617e5d5b5994e_0.file.top_column.tpl.php (line 71) content_6059a77b9de7f2_15834543(object(SmartyCustomTemplate)) in vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php (line 123) Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyCustomTemplate)) in vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php (line 114) Smarty_Template_Compiled->render(object(SmartyCustomTemplate)) in vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php (line 216) Smarty_Internal_Template->render(false, 0) in vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php (line 232) Smarty_Internal_TemplateBase->_execute(object(SmartyCustomTemplate), null, null, null, 0) in vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php (line 116) Smarty_Internal_TemplateBase->fetch(null, null, null, null, false, true, false) in classes/Smarty/SmartyCustomTemplate.php (line 44) SmartyCustomTemplateCore->fetch() in classes/module/Module.php (line 2439) ModuleCore->display('/modules/jxoneclickorder/', 'views/templates/admin/top_column.tpl') in modules/jxoneclickorder/jxoneclickorder.php (line 1799) Jxoneclickorder->hookBackOfficeTop(array('cookie' => object(Cookie), 'cart' => null, 'altern' => 1)) in classes/Hook.php (line 990) HookCore::coreCallHook(object(Jxoneclickorder), 'hookBackOfficeTop', array('cookie' => object(Cookie), 'cart' => null, 'altern' => 1)) in classes/Hook.php (line 421) HookCore::callHookOn(object(Jxoneclickorder), 'displayBackOfficeTop', array('cookie' => object(Cookie), 'cart' => null, 'altern' => 1)) in classes/Hook.php (line 927) HookCore::exec('displayBackOfficeTop') in classes/controller/AdminController.php (line 1957) AdminControllerCore->initHeader() in controllers/admin/AdminLoginController.php (line 156) AdminLoginControllerCore->initContent() in classes/controller/Controller.php (line 306) ControllerCore->run() in classes/Dispatcher.php (line 518) DispatcherCore->dispatch() in admin432fk7fuy/index.php (line 93) Verstehe das ganze nicht. Bin jetzt auf php7.3, Caches wurden gelöscht. Link to comment Share on other sites More sharing options...
JBW Posted March 23, 2021 Share Posted March 23, 2021 Scheint mit dem Module jxoneclickorder zu tun zu haben. Deaktiviere das mal und schaue ob das den Fehler behebt 1 Link to comment Share on other sites More sharing options...
Mikuteit Posted March 23, 2021 Author Share Posted March 23, 2021 (edited) komme ja nicht ins Backend. Kann ja nur per ftp Deaktivieren. Reicht es da nen _old hinter zu setzen? Ja hat gereicht! Das Modul, wird gleich deinstalliert! Edited March 23, 2021 by Mikuteit (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