ivanchu83 Posted November 29, 2020 Share Posted November 29, 2020 La tienda en modo normal, funciona bien, pero en modo depuracion, en ciertas categorias, otras van bien, sale el siguiente error. Es prestashop 1.7.6.9 con php 7.1.33 Alguien podria ayudarme por favor? (1/1) ContextErrorException Notice: A non well formed numeric value encountered in 2f7531ee420bcf82cea9e62b0bbde3b37c4126b0_2.file.productList.tpl.php line 226 (1/1) ContextErrorException Notice: A non well formed numeric value encountered in 2f7531ee420bcf82cea9e62b0bbde3b37c4126b0_2.file.productList.tpl.php line 226 at Block_9598382535fc36bd4a20328_76699464->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_9598382535fc36bd4a20328_76699464), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_9598382535fc36bd4a20328_76699464))in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_9598382535fc36bd4a20328_76699464', 'product_price_and_shipping')in 2f7531ee420bcf82cea9e62b0bbde3b37c4126b0_2.file.productList.tpl.php line 82 at content_5fc36bd4a2cd60_40633700(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 383 at Smarty_Internal_Template->_subTemplateRender('file:catalog/_partials/miniatures/productList.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array('product' => object(ProductListingLazyArray), 'product_list' => 8), 0, true)in 8b3ee163c7aed9a313376cb5ff1379df31a6ae4b_2.file.products.tpl.php line 115 at Block_4496759885fc36bd4949905_90753808->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_4496759885fc36bd4949905_90753808), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_4496759885fc36bd4949905_90753808))in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_4496759885fc36bd4949905_90753808', 'product_miniature')in 8b3ee163c7aed9a313376cb5ff1379df31a6ae4b_2.file.products.tpl.php line 62 at content_5fc36bd494bb73_27132791(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:catalog/_partials/products.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array('listing' => array('result' => object(ProductSearchResult), 'label' => 'Categoría: Buceo', 'products' => array(object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray)), 'sort_orders' => array(array('entity' => 'product', 'field' => 'sales', 'direction' => 'desc', 'label' => 'Best sellers', 'urlParameter' => 'product.sales.desc', 'current' => false, 'url' => 'https://mirelojeria.com/es/44-buceo?order=product.sales.desc'), array('entity' => 'product', 'field' => 'position', 'direction' => 'asc', 'label' => 'Relevancia', 'urlParameter' => 'product.position.asc', 'current' => false, 'url' => 'https://mirelojeria.com/es/44-buceo?order=product.position.asc'), array('entity' => 'product', 'field' => 'name', 'direction' => 'asc', 'label' => 'Nombre, A a Z', 'urlParameter' => 'product.name.asc', 'current' => false, 'url' => 'https://mirelojeria.com/es/44-buceo?order=product.name.asc'), array('entity' => 'product', 'field' => 'name', 'direction' => 'desc', 'label' => 'Nombre, Z a A', 'urlParameter' => 'product.name.desc', 'current' => false, 'url' => 'https://mirelojeria.com/es/44-buceo?order=product.name.desc'), array('entity' => 'product', 'field' => 'price', 'direction' => 'asc', 'label' => 'Precio: de más bajo a más alto', 'urlParameter' => 'product.price.asc', 'current' => false, 'url' => 'https://mirelojeria.com/es/44-buceo?order=product.price.asc'), array('entity' => 'product', 'field' => 'price', 'direction' => 'desc', 'label' => 'Precio, de más alto a más bajo', 'urlParameter' => 'product.price.desc', 'current' => false, 'url' => 'https://mirelojeria.com/es/44-buceo?order=product.price.desc')), 'sort_selected' => false, 'pagination' => array('total_items' => 322, 'items_shown_from' => 1, 'items_shown_to' => 12, 'current_page' => 1, 'pages_count' => 27, 'pages' => array(array('type' => 'page', 'page' => 1, 'clickable' => false, 'current' => true, 'url' => 'https://mirelojeria.com/es/44-buceo'), array('type' => 'page', 'page' => 2, 'clickable' => true, 'current' => false, 'url' => 'https://mirelojeria.com/es/44-buceo?page=2'), array('type' => 'page', 'page' => 3, 'clickable' => true, 'current' => false, 'url' => 'https://mirelojeria.com/es/44-buceo?page=3'), array('type' => 'spacer', 'page' => null, 'clickable' => false, 'current' => false, 'url' => 'https://mirelojeria.com/es/44-buceo'), array('type' => 'page', 'page' => 27, 'clickable' => true, 'current' => false, 'url' => 'https://mirelojeria.com/es/44-buceo?page=27'), array('type' => 'next', 'page' => 2, 'clickable' => true, 'current' => false, 'url' => 'https://mirelojeria.com/es/44-buceo?page=2')), 'should_be_displayed' => true), 'rendered_facets' => '<!-- begin module:ps_facetedsearch/views/templates/front/catalog/facets.tpl --><!-- begin /var/www/vhosts/mirelojeria.com/httpdocs/modules/ps_facetedsearch/views/templates/front/catalog/facets.tpl --> <div id="search_filters"> <p class="text-uppercase h6 hidden-sm-down">Filtrar por</p> <section class="facet clearfix"> <p class="h6 facet-title hidden-sm-down">Marca</p> <div class="title hidden-md-up" data-target="#facet_41911" data-toggle="collapse"> <p class="h6 facet-title">Marca</p> <span class="navbar-toggler collapse-icons"> <i class="material-icons add"></i> <i class="material-icons remove"></i> </span> </div> <ul id="facet_41911" class="collapse"> <li> <label class="facet-label" for="facet_input_41911_0"> <span class="custom-checkbox"> <input id="facet_input_41911_0" data-search-url="https://mirelojeria.com/es/44-buceo?q=Marca-Casio" type="checkbox" > <span class="ps-shown-by-js" ><i class="material-icons rtl-no-flip checkbox-checked"></i></span> </span> <a href="https://mirelojeria.com/es/44-buceo?q=Marca-Casio" class="_gray-darker search-link js-search-link" rel="nofollow" > Casio <span class="magnitude">(2)</span> </a> </label> </li> <li> <label class="facet-label" for="facet_input_41911_1"> <span class="custom-checkbox"> <input id="facet_input_41911_1" data-search-url="https://mirelojeria.com/es/44-buceo?q=Marca-Citizen" type="checkbox" > <span class="ps-shown-by-js" ><i class="material-icons rtl-no-flip checkbox-checked"></i></span> </span> <a href="https://mirelojeria.com/es/44-buceo?q=Marca-Citizen" class="_gray-darker search-link js-search-link" rel="nofollow" > Citizen <span class="magnitude">(67)</span> </a> </label> </li> <li> <label class="facet-label" for="facet_input_41911_2"> <span class="custom-checkbox"> <input id="facet_input_41911_2" data-search-url="https://mirelojeria.com/es/44-buceo?q=Marca-Mares" type="checkbox" > <span class="ps-shown-by-js" ><i class="material-icons rtl-no-flip checkbox-checked"></i></span> </span> <a href="https://mirelojeria.com/es/44-buceo?q=Marca-Mares" class="_gray-darker search-link js-search-link" rel="nofollow" > Mares <span class="magnitude">(7)</span> </a> </label> </li> <li> <label class="facet-label" for="facet_input_41911_3"> <span class="custom-checkbox"> <input id="facet_input_41911_3" data-search-url="https://mirelojeria.com/es/44-buceo?q=Marca-Orient" type="checkbox" > <span class="ps-shown-by-js" ><i class="material-icons rtl-no-flip checkbox-checked"></i></span> </span> <a href="https://mirelojeria.com/es/44-buceo?q=Marca-Orient" class="_gray-darker search-link js-search-link" rel="nofollow" > Orient <span class="magnitude">(14)</span> </a> </label> </li> <li> <label class="facet-label" for="facet_input_41911_4"> <span class="custom-checkbox"> <input id="facet_input_41911_4" data-search-url="https://mirelojeria.com/es/44-buceo?q=Marca-Seiko" type="checkbox" > <span class="ps-shown-by-js" ><i class="material-icons rtl-no-flip checkbox-checked"></i></span> </span> <a href="https://mirelojeria.com/es/44-buceo?q=Marca-Seiko" class="_gray-darker search-link js-search-link" rel="nofollow" > Seiko <span class="magnitude">(76)</span> </a> </label> </li> <li> <label class="facet-label" for="facet_input_41911_5"> <span class="custom-checkbox"> <input id="facet_input_41911_5" data-search-url="https://mirelojeria.com/es/44-buceo?q=Marca-Suunto" type="checkbox" > <span class="ps-shown-by-js" ><i class="material-icons rtl-no-flip checkbox-checked"></i></span> </span> <a href="https://mirelojeria.com/es/44-buceo?q=Marca-Suunto" class="_gray-darker search-link js-search-link" rel="nofollow" > Suunto <span class="magnitude">(151)</span> </a> </label> </li> <li> <label class="facet-label" for="facet_input_41911_6"> <span class="custom-checkbox"> <input id="facet_input_41911_6" data-search-url="https://mirelojeria.com/es/44-buceo?q=Marca-Vagary" type="checkbox" > <span class="ps-shown-by-js" ><i class="material-icons rtl-no-flip checkbox-checked"></i></span> </span> <a href="https://mirelojeria.com/es/44-buceo?q=Marca-Vagary" class="_gray-darker search-link js-search-link" rel="nofollow" > Vagary <span class="magnitude">(3)</span> </a> </label> </li> </ul> </section> </div><!-- end /var/www/vhosts/mirelojeria.com/httpdocs/modules/ps_facetedsearch/views/templates/front/catalog/facets.tpl --><!-- end module:ps_facetedsearch/views/templates/front/catalog/facets.tpl -->', 'rendered_active_filters' => '<!-- begin module:ps_facetedsearch/views/templates/front/catalog/active-filters.tpl --><!-- begin /var/www/vhosts/mirelojeria.com/httpdocs/modules/ps_facetedsearch/views/templates/front/catalog/active-filters.tpl --><section id="js-active-search-filters" class="hide"> <p class="h6 hidden-xs-up">Filtros activos</p> </section><!-- end /var/www/vhosts/mirelojeria.com/httpdocs/modules/ps_facetedsearch/views/templates/front/catalog/active-filters.tpl --><!-- end module:ps_facetedsearch/views/templates/front/catalog/active-filters.tpl -->', 'js_enabled' => false, 'current_url' => 'https://mirelojeria.com/es/44-buceo')), 0, false)in d48a4e98d20ea89f9882eb65057a9541387661db_2.file.product-list.tpl.php line 83 at Block_17984319325fc36bd47acbb4_40893342->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_17984319325fc36bd47acbb4_40893342), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_17984319325fc36bd47acbb4_40893342))in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_17984319325fc36bd47acbb4_40893342', 'product_list', 1)in d48a4e98d20ea89f9882eb65057a9541387661db_2.file.product-list.tpl.php line 172 at Block_20636734155fc36bd47a7042_37063939->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_20636734155fc36bd47a7042_37063939), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_20636734155fc36bd47a7042_37063939), object(Block_20139953435fc36bd47b8cc4_47756992))in smarty_internal_runtime_inheritance.php line 186 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_20139953435fc36bd47b8cc4_47756992))in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_20139953435fc36bd47b8cc4_47756992', 'content', 2)in 5dc1c5986dd25f80200a35cc6b2e45b399ee9b01_2.file.layout-left-column.tpl.php line 84 at Block_19064408435fc36bd47b7cc8_83840108->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_19064408435fc36bd47b7cc8_83840108), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_19064408435fc36bd47b7cc8_83840108), object(Block_3754226915fc36bd47ce202_52482946))in smarty_internal_runtime_inheritance.php line 186 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_3754226915fc36bd47ce202_52482946))in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_3754226915fc36bd47ce202_52482946', 'content_wrapper')in 4ddb5803509dea1c558dfd90def9f5dcae3606fa_2.file.layout-both-columns.tpl.php line 87 at content_5fc36bd47d3d49_38688343(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-left-column.tpl', 0, 3600, 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 5dc1c5986dd25f80200a35cc6b2e45b399ee9b01_2.file.layout-left-column.tpl.php line 38 at content_5fc36bd47b97d6_96863954(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-left-column.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125 at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-left-column.tpl')in d48a4e98d20ea89f9882eb65057a9541387661db_2.file.product-list.tpl.php line 37 at content_5fc36bd47aeb68_77965919(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('catalog/listing/product-list.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125 at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'catalog/listing/product-list.tpl')in eeee089ff3368fc2646844667c283d4e5264314e_2.file.category.tpl.php line 33 at content_5fc36bd479eff7_73019126(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-left-column.tpl', null, 0)in smarty_internal_templatebase.php line 116 at Smarty_Internal_TemplateBase->fetch('catalog/listing/category.tpl', null, 'layouts/layout-left-column.tpl', null, false, true, false)in SmartyDev.php line 40 at SmartyDev->fetch('catalog/listing/category.tpl', null, 'layouts/layout-left-column.tpl')in FrontController.php line 683 at FrontControllerCore->smartyOutputContent('catalog/listing/category.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 More sharing options...
aixos Posted November 29, 2020 Share Posted November 29, 2020 Hola cambia a php 7.2 1 Link to comment Share on other sites More sharing options...
ivanchu83 Posted November 30, 2020 Author Share Posted November 30, 2020 Hola gracias, he bajado php y efectivamente no salta el erro, muchas gracias. Link to comment Share on other sites More sharing options...
aixos Posted November 30, 2020 Share Posted November 30, 2020 Hola si te ayudo mi respuesta, dale un LIKE es el corazón que esta abajo a la derecha saludos 1 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