Hallo Zusammen,
ich habe hier schon einige Beiträge gelesen, jedochhabe ich keine Lösung gefunden.
folgende Fehler Meldung liegt nach der Umstellung vor:
Fatal error: Uncaught TypeError: floor(): Argument
#1 ($num) must be of type int|float, string given in /homepages/30/d793185989/htdocs/shop/var/cache/production_202211020949/templates/frontend_Kaesebaumann_de_DE_1_secure/48/78/46/4878464f6f0fde2e72d683060ce253356a818f04.snippet.index.tpl.php:625 Stack trace: #0 /homepages/30/d793185989/htdocs/shop/var/cache/production_202211020949/templates/frontend_Kaesebaumann_de_DE_1_secure/48/78/46/4878464f6f0fde2e72d683060ce253356a818f04.snippet.index.tpl.php(625): floor(‚‘)
#1 /homepages/30/d793185989/htdocs/shop/engine/Library/Smarty/sysplugins/smarty_internal_templatebase.php(180): content_6406380259a2f3_36831704(Object(Enlight_Template_Default))
#2 /homepages/30/d793185989/htdocs/shop/engine/Library/Enlight/View/Default.php(286): Smarty_Internal_TemplateBase->fetch()
#3 /homepages/30/d793185989/htdocs/shop/engine/Library/Enlight/Controller/Plugins/ViewRenderer/Bootstrap.php(180): Enlight_View_Default->render(Object(Enlight_Template_Default))
#4 /homepages/30/d793185989/htdocs/shop/engine/Library/Enlight/Controller/Plugins/ViewRenderer/Bootstrap.php(207): Enlight_Controller_Plugins_ViewRenderer_Bootstrap->renderTemplate(Object(Enlight_Template_Default))
#5 /homepages/30/d793185989/htdocs/shop/engine/Library/Enlight/Controller/Plugins/ViewRenderer/Bootstrap.php(124): Enlight_Controller_Plugins_ViewRenderer_Bootstrap->render()
#6 /homepages/30/d793185989/htdocs/shop/engine/Library/Enlight/Event/Handler/Default.php(90): Enlight_Controller_Plugins_ViewRenderer_Bootstrap->onPostDispatch(Object(Enlight_Controller_ActionEventArgs))
#7 /homepages/30/d793185989/htdocs/shop/engine/Library/Enlight/Event/EventManager.php(207): Enlight_Event_Handler_Default->execute(Object(Enlight_Controller_ActionEventArgs))
#8 /homepages/30/d793185989/htdocs/shop/engine/Library/Enlight/Controller/Action.php(229): Enlight_Event_EventManager->notify(‚Enlight_Control…‘, Object(Enlight_Controller_ActionEventArgs))
#9 /homepages/30/d793185989/htdocs/shop/engine/Library/Enlight/Controller/Dispatcher/Default.php(467): Enlight_Controller_Action->dispatch(‚indexAction‘)
#10 /homepages/30/d793185989/htdocs/shop/engine/Library/Enlight/Controller/Front.php(225): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
#11 /homepages/30/d793185989/htdocs/shop/engine/Shopware/Kernel.php(197): Enlight_Controller_Front->dispatch()
#12 /homepages/30/d793185989/htdocs/shop/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(85): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#13 /homepages/30/d793185989/htdocs/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php(479): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(Object(Shopware\Kernel), Object(Symfony\Component\HttpFoundation\Request), 1, true)
#14 /homepages/30/d793185989/htdocs/shop/engine/Shopware/Components/HttpCache/AppCache.php(266): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#15 /homepages/30/d793185989/htdocs/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php(452): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#16 /homepages/30/d793185989/htdocs/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php(346): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Object(Symfony\Component\HttpFoundation\Request), true)
#17 /homepages/30/d793185989/htdocs/shop/engine/Shopware/Components/HttpCache/AppCache.php(192): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true)
#18 /homepages/30/d793185989/htdocs/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php(224): Shopware\Components\HttpCache\AppCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true)
#19 /homepages/30/d793185989/htdocs/shop/engine/Shopware/Components/HttpCache/AppCache.php(117): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#20 /homepages/30/d793185989/htdocs/shop/shopware.php(122): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#21 {main} thrown in /homepages/30/d793185989/htdocs/shop/var/cache/production_202211020949/templates/frontend_Kaesebaumann_de_DE_1_secure/48/78/46/4878464f6f0fde2e72d683060ce253356a818f04.snippet.index.tpl.php on line 625
Folgendes habe ich schon vorgenommen:
- Plugins habe ich alle deaktiviert. In der Testumgebung liegt der Fehler auch vor, hier habe ich keine externen Plugins installiert.
- den Ordner chache/production… habe ich umbenannt so das ein neuer Ordner angelegt wurde.
- Alle Elemente in der Einkaufswelt habe ich deaktieviert.
Würde mich über eure Hilfe und euren Rat freuen…
Danke Jürgen