flyordie Posted August 29, 2019 Share Posted August 29, 2019 Bonjour, Quand j'applique un thème acheté sur addons.presta je précise, j'obtiens une erreur 500. Voici le détails de l'erreur : [PrestaShopException] Invalid category vars at line 388 in file classes/Link.php 383. if (is_array($category) && isset($category['id_category'])) { 384. $category = new Category($category, $idLang); 385. } elseif ((int) $category) { 386. $category = new Category((int) $category, $idLang); 387. } else { 388. throw new PrestaShopException('Invalid category vars'); 389. } 390. } 391. 392. return $category; 393. } LinkCore->getCategoryObject - [line 441 - classes/Link.php] - [2 Arguments] LinkCore->getCategoryLink - [line 58 - var/cache/dev/smarty/compile/6e/1e/9c/6e1e9c3b8122a8bb933af1edea092d5cea1b96f1_2.module.otcategoryfeatureviewstem.cache.php] - [2 Arguments] content_5d678eb623b987_73486165 - [line 123 - vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php] - [1 Arguments] Smarty_Template_Resource_Base->getRenderedTemplateCode - [line 114 - vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php] - [1 Arguments] Smarty_Template_Compiled->render - [line 38 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_updatecache.php] - [1 Arguments] Smarty_Internal_Runtime_UpdateCache->updateCache - [line 143 - vendor/smarty/smarty/libs/sysplugins/smarty_template_cached.php] - [3 Arguments] Smarty_Template_Cached->render - [line 211 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php] - [2 Arguments] Smarty_Internal_Template->render - [line 232 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php] - [2 Arguments] Smarty_Internal_TemplateBase->_execute - [line 116 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php] - [5 Arguments] Smarty_Internal_TemplateBase->fetch - [line 40 - classes/Smarty/SmartyDevTemplate.php] - [7 Arguments] SmartyDevTemplateCore->fetch - [line 2447 - classes/module/Module.php] ModuleCore->fetch - [line 202 - modules/otcategoryfeature/otcategoryfeature.php] - [2 Arguments] OtCategoryFeature->renderWidget - [line 975 - classes/Hook.php] - [2 Arguments] HookCore::coreRenderWidget - [line 927 - classes/Hook.php] - [3 Arguments] HookCore::exec - [line 167 - config/smarty.config.inc.php] - [3 Arguments] smartyHook - [line 83 - classes/Smarty/SmartyLazyRegister.php] - [2 Arguments] SmartyLazyRegister->__call - [line 218 - var/cache/dev/smarty/compile/layouts_layout_full_width_tpl/4e/e4/eb/4ee4ebe6f75bba4b12f053e9f630e1c80f36a747_2.file.layout-both-columns.tpl.php] - [2 Arguments] Block_1453108285d678eb5eaac52_82303646->callBlock - [line 248 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php] - [1 Arguments] Smarty_Internal_Runtime_Inheritance->callBlock - [line 184 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php] - [2 Arguments] Smarty_Internal_Runtime_Inheritance->process - [line 156 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php] - [2 Arguments] Smarty_Internal_Runtime_Inheritance->instanceBlock - [line 69 - var/cache/dev/smarty/compile/layouts_layout_full_width_tpl/4e/e4/eb/4ee4ebe6f75bba4b12f053e9f630e1c80f36a747_2.file.layout-both-columns.tpl.php] - [3 Arguments] content_5d678eb5eb88f6_26224392 - [line 123 - vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php] - [1 Arguments] Smarty_Template_Resource_Base->getRenderedTemplateCode - [line 114 - vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php] - [1 Arguments] Smarty_Template_Compiled->render - [line 216 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php] - [1 Arguments] Smarty_Internal_Template->render - [line 385 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php] Smarty_Internal_Template->_subTemplateRender - [line 125 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php] - [10 Arguments] Smarty_Internal_Runtime_Inheritance->endChild - [line 42 - var/cache/dev/smarty/compile/layouts_layout_full_width_tpl/33/3f/e2/333fe2dc05a4d4afdae68748bd588e0aca4cfb2f_2.file.layout-full-width.tpl.php] - [2 Arguments] content_5d678eb5e782d1_07286269 - [line 123 - vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php] - [1 Arguments] Smarty_Template_Resource_Base->getRenderedTemplateCode - [line 114 - vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php] - [1 Arguments] Smarty_Template_Compiled->render - [line 216 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php] - [1 Arguments] Smarty_Internal_Template->render - [line 385 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php] Smarty_Internal_Template->_subTemplateRender - [line 125 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php] - [10 Arguments] Smarty_Internal_Runtime_Inheritance->endChild - [line 33 - var/cache/dev/smarty/compile/layouts_layout_full_width_tpl/20/77/d4/2077d483a4a9ee8cbf1f4cdfc646917f531e4199_2.file.page.tpl.php] - [2 Arguments] content_5d678eb5e6cb20_23955578 - [line 123 - vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php] - [1 Arguments] Smarty_Template_Resource_Base->getRenderedTemplateCode - [line 114 - vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php] - [1 Arguments] Smarty_Template_Compiled->render - [line 216 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php] - [1 Arguments] Smarty_Internal_Template->render - [line 385 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php] Smarty_Internal_Template->_subTemplateRender - [line 125 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php] - [10 Arguments] Smarty_Internal_Runtime_Inheritance->endChild - [line 31 - var/cache/dev/smarty/compile/layouts_layout_full_width_tpl/7c/67/c9/7c67c99db59e1358110b560638b04d9b484af2a2_2.file.index.tpl.php] - [2 Arguments] content_5d678eb5e5d896_61872458 - [line 123 - vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php] - [1 Arguments] Smarty_Template_Resource_Base->getRenderedTemplateCode - [line 114 - vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php] - [1 Arguments] Smarty_Template_Compiled->render - [line 216 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php] - [1 Arguments] Smarty_Internal_Template->render - [line 232 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php] - [2 Arguments] Smarty_Internal_TemplateBase->_execute - [line 116 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php] - [5 Arguments] Smarty_Internal_TemplateBase->fetch - [line 40 - classes/Smarty/SmartyDev.php] - [7 Arguments] SmartyDev->fetch - [line 683 - classes/controller/FrontController.php] - [3 Arguments] FrontControllerCore->smartyOutputContent - [line 667 - classes/controller/FrontController.php] - [1 Arguments] FrontControllerCore->display - [line 311 - classes/controller/Controller.php] ControllerCore->run - [line 515 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] Quelqu'un saurait-il intervenir ou régler le probléme. Merci. 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