Jump to content

Error al intentar actualizar la php


Recommended Posts

Buenos días, Ionos me obliga a actualizar la php para no tener que para no tener que pagar soporte todos los meses, intentando hacerlo me ha salido un error: 

ContextErrorException in 7080cd620906f87d59fff217b13875421a7573f2.file.displayBlockProduct.tpl.php line 33:

Decir que soy novata en estas cosas por favor me podéis decir si es fácil de arreglar o me tocará pagar a los de prestashop para que me lo arreglen. Gracias y saludos 

Link to comment
Share on other sites

¿Qué versión de PHP y de Prestashop tienes? Prestashop 1.7.x es compatible con PHP 7, pero PS 1.6 sólo lo es en las últimas versiones  de esa rama (creo que a partir de la 1.6.1.4). Si tienes instalada una versión anterior, deberás actualizar Prestashop antes de cambiar la versión de PHP.

Link to comment
Share on other sites

He usado la versión 7.2 y me sale el siguiente error cuando doy clic a una foto de la página web

Whoops, looks like something went wrong.

1/1ContextErrorException in 7080cd620906f87d59fff217b13875421a7573f2.file.displayBlockProduct.tpl.php line 33:Notice: Undefined index: block

in 7080cd620906f87d59fff217b13875421a7573f2.file.displayBlockProduct.tpl.php line 33

at ErrorHandler->handleError('8', 'Undefined index: block', '/homepages/36/d740504541/htdocs/clickandbuilds/PrestaShop/MyE-Commerce/app/cache/dev/smarty/compile/70/80/cd/7080cd620906f87d59fff217b13875421a7573f2.file.displayBlockProduct.tpl.php', '33', array('_smarty_tpl' => object(SmartyDevTemplate))) in 7080cd620906f87d59fff217b13875421a7573f2.file.displayBlockProduct.tpl.php line 33

at content_5e0a6ac1ecc7e7_18912745(object(SmartyDevTemplate)) in smarty_internal_templatebase.php line 188

at Smarty_Internal_TemplateBase->fetch(object(SmartyDevTemplate), null, null, null, false, true, false) in SmartyDevTemplate.php line 41

at SmartyDevTemplateCore->fetch() in Module.php line 2244

at ModuleCore->display('/homepages/36/d740504541/htdocs/clickandbuilds/PrestaShop/MyE-Commerce/modules/blockreassurance/blockreassurance.php', 'views/templates/hook/displayBlockProduct.tpl') in blockreassurance.php line 540

at blockreassurance->renderTemplateInHook('displayBlockProduct.tpl') in blockreassurance.php line 423

at blockreassurance->hookdisplayReassurance(array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '1')) in Hook.php line 924

at HookCore::coreCallHook(object(blockreassurance), 'hookdisplayReassurance', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '1')) in Hook.php line 328

at HookCore::callHookOn(object(blockreassurance), 'displayReassurance', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '1')) in Hook.php line 860

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

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

at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayReassurance'), object(SmartyDevTemplate))) in 3f6ac1405db37e810695324c3310d948e21cd571.file.product.tpl.php line 417

at content_5e0a6ac1e3e155_07028951(object(SmartyDevTemplate)) in smarty_internal_templatebase.php line 188

at Smarty_Internal_TemplateBase->fetch('catalog/product.tpl', null, 'layouts/layout-full-width.tpl', object(SmartyDev), false, true, false) in SmartyDev.php line 41

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

at FrontControllerCore->smartyOutputContent('catalog/product.tpl') in FrontController.php line 668

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

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

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

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