Presta 1.7.5.1. Od kilku dni nie wyświetla się zawartość karty produktu. Widoczne jest tylko zdjęcie, krótki opis, cena i przycisk dodaj do koszyka. Nie mogę również dodać produktu do koszyka, cały czas koszyk jest pusty. W trybie debugowania mam litanię i za bardzo nie wiem jak temat mogę ogarnąć.
W czasie przed awarią nie były instalowane nowe moduły, ani wykonywane aktualizacje. Wysypało się z niczego. Poniżej log błędów w karcie produktu.
(1/1) UndefinedMethodException
Attempted to call an undefined method named "getMimeType" of class "ImageManager".
Did you mean to call "getMimeTypeByExtension"?
in ReassuranceActivity.php line 190
at ReassuranceActivity::getAllBlockByStatus(1, 1)
in blockreassurance.php line 517
at blockreassurance->renderTemplateInHook('displayBlockProduct.tpl')
in blockreassurance.php line 409
at blockreassurance->hookdisplayReassurance(array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))
in Hook.php line 966
at HookCore::coreCallHook(object(blockreassurance), 'hookdisplayReassurance', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))
in Hook.php line 351
at HookCore::callHookOn(object(blockreassurance), 'displayReassurance', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))
in Hook.php line 903
at HookCore::exec('displayReassurance', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1), null)
in smarty.config.inc.php line 165
at smartyHook(array('h' => 'displayReassurance'), object(SmartyDevTemplate))
in SmartyLazyRegister.php line 83
at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayReassurance'), object(SmartyDevTemplate)))
in 9b9df9ee52378bcaee315f052ec66573626a2511_2.file.product.tpl.php line 401
at Block_19573800325f1ed8ced94c12_13012859->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_19573800325f1ed8ced94c12_13012859), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_19573800325f1ed8ced94c12_13012859))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_19573800325f1ed8ced94c12_13012859', 'hook_display_reassurance', 0)
in 9b9df9ee52378bcaee315f052ec66573626a2511_2.file.product.tpl.php line 703
at Block_18030721665f1ed8ced6f775_56409399->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_18030721665f1ed8ced6f775_56409399), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_18030721665f1ed8ced6f775_56409399), object(Block_19011083075f1ed8c281bc47_49811392))
in smarty_internal_runtime_inheritance.php line 186
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_19011083075f1ed8c281bc47_49811392))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_19011083075f1ed8c281bc47_49811392', 'content', 1)
in 7ff5fe1c07637ca0acd3d128c30aa871f78a2cf5_2.file.layout-full-width.tpl.php line 101
at Block_13993601705f1ed8c281ac27_19740033->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_13993601705f1ed8c281ac27_19740033), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_13993601705f1ed8c281ac27_19740033), object(Block_482480755f1ed8c2849054_58943631))
in smarty_internal_runtime_inheritance.php line 186
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_482480755f1ed8c2849054_58943631))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_482480755f1ed8c2849054_58943631', 'content_wrapper')
in 4e1b773518005c46d976c09d61173a7dbee135f8_2.file.layout-both-columns.tpl.php line 100
at content_5f1ed8c285b495_06946337(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 7ff5fe1c07637ca0acd3d128c30aa871f78a2cf5_2.file.layout-full-width.tpl.php line 42
at content_5f1ed8c281d190_36882353(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 9b9df9ee52378bcaee315f052ec66573626a2511_2.file.product.tpl.php line 57
at content_5f1ed8ceda3930_12619833(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('catalog/product.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false)
in SmartyDev.php line 40
at SmartyDev->fetch('catalog/product.tpl', null, 'layouts/layout-full-width.tpl')
in FrontController.php line 682
at FrontControllerCore->smartyOutputContent('catalog/product.tpl')
in FrontController.php line 666
at FrontControllerCore->display()
in Controller.php line 301
at ControllerCore->run()
in Dispatcher.php line 511
at DispatcherCore->dispatch()
in index.php line 28
Question
andrzej.partner
Witajcie
Presta 1.7.5.1. Od kilku dni nie wyświetla się zawartość karty produktu. Widoczne jest tylko zdjęcie, krótki opis, cena i przycisk dodaj do koszyka. Nie mogę również dodać produktu do koszyka, cały czas koszyk jest pusty. W trybie debugowania mam litanię i za bardzo nie wiem jak temat mogę ogarnąć.
W czasie przed awarią nie były instalowane nowe moduły, ani wykonywane aktualizacje. Wysypało się z niczego. Poniżej log błędów w karcie produktu.
Z góry dziękuję za wszelkie sugestie.
________________________________________________________________________________________________
(1/1) UndefinedMethodException
Attempted to call an undefined method named "getMimeType" of class "ImageManager".
Did you mean to call "getMimeTypeByExtension"?
in ReassuranceActivity.php line 190
at ReassuranceActivity::getAllBlockByStatus(1, 1)
in blockreassurance.php line 517
at blockreassurance->renderTemplateInHook('displayBlockProduct.tpl')
in blockreassurance.php line 409
at blockreassurance->hookdisplayReassurance(array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))
in Hook.php line 966
at HookCore::coreCallHook(object(blockreassurance), 'hookdisplayReassurance', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))
in Hook.php line 351
at HookCore::callHookOn(object(blockreassurance), 'displayReassurance', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))
in Hook.php line 903
at HookCore::exec('displayReassurance', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1), null)
in smarty.config.inc.php line 165
at smartyHook(array('h' => 'displayReassurance'), object(SmartyDevTemplate))
in SmartyLazyRegister.php line 83
at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayReassurance'), object(SmartyDevTemplate)))
in 9b9df9ee52378bcaee315f052ec66573626a2511_2.file.product.tpl.php line 401
at Block_19573800325f1ed8ced94c12_13012859->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_19573800325f1ed8ced94c12_13012859), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_19573800325f1ed8ced94c12_13012859))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_19573800325f1ed8ced94c12_13012859', 'hook_display_reassurance', 0)
in 9b9df9ee52378bcaee315f052ec66573626a2511_2.file.product.tpl.php line 703
at Block_18030721665f1ed8ced6f775_56409399->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_18030721665f1ed8ced6f775_56409399), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_18030721665f1ed8ced6f775_56409399), object(Block_19011083075f1ed8c281bc47_49811392))
in smarty_internal_runtime_inheritance.php line 186
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_19011083075f1ed8c281bc47_49811392))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_19011083075f1ed8c281bc47_49811392', 'content', 1)
in 7ff5fe1c07637ca0acd3d128c30aa871f78a2cf5_2.file.layout-full-width.tpl.php line 101
at Block_13993601705f1ed8c281ac27_19740033->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_13993601705f1ed8c281ac27_19740033), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_13993601705f1ed8c281ac27_19740033), object(Block_482480755f1ed8c2849054_58943631))
in smarty_internal_runtime_inheritance.php line 186
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_482480755f1ed8c2849054_58943631))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_482480755f1ed8c2849054_58943631', 'content_wrapper')
in 4e1b773518005c46d976c09d61173a7dbee135f8_2.file.layout-both-columns.tpl.php line 100
at content_5f1ed8c285b495_06946337(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 7ff5fe1c07637ca0acd3d128c30aa871f78a2cf5_2.file.layout-full-width.tpl.php line 42
at content_5f1ed8c281d190_36882353(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 9b9df9ee52378bcaee315f052ec66573626a2511_2.file.product.tpl.php line 57
at content_5f1ed8ceda3930_12619833(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('catalog/product.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false)
in SmartyDev.php line 40
at SmartyDev->fetch('catalog/product.tpl', null, 'layouts/layout-full-width.tpl')
in FrontController.php line 682
at FrontControllerCore->smartyOutputContent('catalog/product.tpl')
in FrontController.php line 666
at FrontControllerCore->display()
in Controller.php line 301
at ControllerCore->run()
in Dispatcher.php line 511
at DispatcherCore->dispatch()
in index.php line 28
Link to comment
Share on other sites
1 answer to this question
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