Jump to content

Erreur 500lorsque j'ai greffé le module nouveaux produits


Recommended Posts

Bonjour,

Lorsque j'ai gréffé le module nouveaux produits sur le front office j'ai une erreur 500 qui s'est produite. Après avoir activé le mode debug, voici ce que cela m'a affiché

Unable to load template 'file:catalog/_partials/miniatures/product.tpl'

in vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php (line 96)

Smarty_Template_Compiled->render(object(Smarty_Internal_Template)) in vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php (line 383)

Smarty_Internal_Template->_subTemplateRender('file:catalog/_partials/miniatures/product.tpl', 'ps_newproducts|1|8', null, 9999, 31536000, array('product' => object(ProductListingLazyArray)), 0, true) in var/cache/dev/smarty/compile/4a/8d/f4/4a8df44403a47041b050fac755e17268c2a7c3e7_0.module.psnewproductsviewstemplat.cache.php (line 37)

content_5fb294f575f247_68554352(object(Smarty_Internal_Template)) in vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php (line 123)

Smarty_Template_Resource_Base->getRenderedTemplateCode(object(Smarty_Internal_Template)) in vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php (line 114)

Smarty_Template_Compiled->render(object(Smarty_Internal_Template)) in vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_updatecache.php (line 38)

Smarty_Internal_Runtime_UpdateCache->updateCache(object(Smarty_Template_Cached), object(Smarty_Internal_Template), false) in vendor/smarty/smarty/libs/sysplugins/smarty_template_cached.php (line 143)

Smarty_Template_Cached->render(object(Smarty_Internal_Template), false) in vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php (line 211)

Smarty_Internal_Template->render(false, 0) in vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php (line 232)

Smarty_Internal_TemplateBase->_execute(object(Smarty_Internal_Template), null, null, null, 0) in vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php (line 116)

Smarty_Internal_TemplateBase->fetch() in classes/module/Module.php (line 2447)

        if ($cache_id !== null) {

            Tools::restoreCacheSettings();

        }

        return $template->fetch();

    }

    /**

     * @param string $template

     * @param string|null $cache_id

ModuleCore->fetch('module:ps_newproducts/views/templates/hook/ps_newproducts.tpl', 'ps_newproducts|1|8') in modules/ps_newproducts/ps_newproducts.php (line 206)

Ps_NewProducts->renderWidget('displayAdminAfterHeader', array('smarty' => object(Smarty_Internal_Template), 'cookie' => object(Cookie), 'cart' => null, 'altern' => 2)) in classes/Hook.php (line 975)

HookCore::coreRenderWidget(object(Ps_NewProducts), 'displayAdminAfterHeader', array('smarty' => object(Smarty_Internal_Template), 'cookie' => object(Cookie), 'cart' => null, 'altern' => 2)) in classes/Hook.php (line 927)

HookCore::exec('displayAdminAfterHeader', array('smarty' => object(Smarty_Internal_Template), 'cookie' => object(Cookie), 'cart' => null, 'altern' => 2), null) in config/smarty.config.inc.php (line 167)

smartyHook(array('h' => 'displayAdminAfterHeader'), object(Smarty_Internal_Template)) in classes/Smarty/SmartyLazyRegister.php (line 83)

SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayAdminAfterHeader'), object(Smarty_Internal_Template))) in var/cache/dev/smarty/compile/45/58/22/455822246406fbce317f8ec619e7b447a917fc6d_0.file.header.tpl.php (line 539)

content_5eac20f1c192e6_19198129(object(Smarty_Internal_Template)) in vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php (line 123)

Smarty_Template_Resource_Base->getRenderedTemplateCode(object(Smarty_Internal_Template)) in vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php (line 114)

Smarty_Template_Compiled->render(object(Smarty_Internal_Template)) in vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php (line 216)

Smarty_Internal_Template->render(false, 0) in vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php (line 232)

Smarty_Internal_TemplateBase->_execute(object(Smarty_Internal_Template), null, null, null, 0) in vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php (line 116)

Smarty_Internal_TemplateBase->fetch('header.tpl') in classes/controller/AdminController.php (line 1876)

AdminControllerCore->display() in classes/controller/Controller.php (line 312)

ControllerCore->run() in classes/Dispatcher.php (line 515)

DispatcherCore->dispatch() in adminscrap/index.php (line 97)

Le front office fonctionne toujours mais je n'ai plus accès au back office, que dois-je faire ?

Merci d'avance pour votre aide

 

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