Jump to content

Error PHP al entrar a mi cuenta Prestashop 1.7.5.0 (1/1) FatalThrowableError Call to a member function getModuleLink() on string


Recommended Posts

tengo una tienda Prestashop 1.7.5.0 corriendo en un servidor ubuntu 18.04 con php 7.2.21.

El tema instalado es transformer theme y tengo el módulo JA Marketplace. El problema pasa al iniciar sesion con la cuenta de algunos vendedores y quiero entrar al apartado "mi cuenta". Cuando miro en las herramientas del navegador, en la pestaña network veo que hay un error 500 y en el html no está center-column, por esto no aparece el dashboard. Cuando ingreso a mi cuenta con otros perfiles no me salta este error.


(1/1) FatalThrowableError
Call to a member function getModuleLink() on string

in 45bf78bef573835f2b9e70d2e24a2d6ba017c514_2.file.customer-account.tpl.php line 44
at content_5da0b584f30d11_36364393(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, null, null, 0)
in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase->fetch(null, null, null, null, false, true, false)
in SmartyDevTemplate.php line 40
at SmartyDevTemplateCore->fetch()
in Module.php line 2375
at ModuleCore->display('/var/www/html/clonatu/modules/jmarketplace/jmarketplace.php', 'customer-account.tpl')
in jmarketplace.php line 4688
at Jmarketplace->hookDisplayCustomerAccount(array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 5))
in Hook.php line 966
at HookCore::coreCallHook(object(Jmarketplace), 'hookdisplayCustomeraccount', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 5))
in Hook.php line 351
at HookCore::callHookOn(object(Jmarketplace), 'displayCustomeraccount', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 5))
in Hook.php line 903
at HookCore::exec('displayCustomeraccount', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 5), null)
in smarty.config.inc.php line 165
at smartyHook(array('h' => 'displayCustomeraccount'), object(SmartyDevTemplate))
in SmartyLazyRegister.php line 83
at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayCustomeraccount'), object(SmartyDevTemplate)))
in ce1448e09011f92c4d9007957728557cc2d67538_2.file.my-account-items.tpl.php line 124
at Block_18378154415da0b584f15439_77278100->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_18378154415da0b584f15439_77278100), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_18378154415da0b584f15439_77278100))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_18378154415da0b584f15439_77278100', 'display_customer_account')
in ce1448e09011f92c4d9007957728557cc2d67538_2.file.my-account-items.tpl.php line 110
at content_5da0b584f15da2_66923757(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:customer/_partials/my-account-items.tpl', null, 'layouts/layout-full-width.tpl', 0, 31536000, array(), 0, false)
in 478b32d5af2779b9a5a0c23aeda8ea7f70addca9_2.file.my-account-nav.tpl.php line 27
at content_5da0b584f08ef8_21973048(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:customer/_partials/my-account-nav.tpl', null, 'layouts/layout-full-width.tpl', 0, 31536000, array(), 0, false)
in 6c651f57a36328209358a234e9b65b082a40d2d8_2.file.page.tpl.php line 67
at Block_18323052835da0b584ec65f1_72722871->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_18323052835da0b584ec65f1_72722871), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_18323052835da0b584ec65f1_72722871))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_18323052835da0b584ec65f1_72722871', 'account_links', 1)
in 6c651f57a36328209358a234e9b65b082a40d2d8_2.file.page.tpl.php line 157
at Block_5404975585da0b584ec6209_47399254->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_5404975585da0b584ec6209_47399254), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_5404975585da0b584ec6209_47399254), object(Block_6141945465da0b3d109ee35_67146184))
in smarty_internal_runtime_inheritance.php line 186
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_6141945465da0b3d109ee35_67146184))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_6141945465da0b3d109ee35_67146184', 'page_content_container', 2)
in a7c3a6982b7458bd6b1144ffccd11abce98fcdda_2.file.page.tpl.php line 180
at Block_18148596095da0b3d109db11_32252350->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_18148596095da0b3d109db11_32252350), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_18148596095da0b3d109db11_32252350), object(Block_3386506195da0b3d10a5211_65849910))
in smarty_internal_runtime_inheritance.php line 186
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_3386506195da0b3d10a5211_65849910))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_3386506195da0b3d10a5211_65849910', 'content', 3)
in 7f3cfbb48cc2ab003dbfe8915cdd376ed38e496e_2.file.layout-full-width.tpl.php line 133
at Block_3487330155da0b3d10a4e41_76192596->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_3487330155da0b3d10a4e41_76192596), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_3487330155da0b3d10a4e41_76192596), object(Block_14838189935da0b3d10c9498_87000707))
in smarty_internal_runtime_inheritance.php line 186
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_14838189935da0b3d10c9498_87000707))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_14838189935da0b3d10c9498_87000707', 'content_wrapper')
in acbd29a530c1c0849cd06b6900697394f92158cc_2.file.layout-both-columns.tpl.php line 118
at content_5da0b3d10da2c5_68405630(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 7f3cfbb48cc2ab003dbfe8915cdd376ed38e496e_2.file.layout-full-width.tpl.php line 50
at content_5da0b3d10a5795_06095531(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 a7c3a6982b7458bd6b1144ffccd11abce98fcdda_2.file.page.tpl.php line 33
at content_5da0b3d10a0e22_51272441(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('page.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), 'page.tpl')
in 6c651f57a36328209358a234e9b65b082a40d2d8_2.file.page.tpl.php line 46
at content_5da0b584ec9488_48174012(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('customer/page.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), 'customer/page.tpl')
in 8c798f26ec12500bf4f26aafc94e6bfecbcf2d71_2.file.my-account.tpl.php line 46
at content_5da0b584ec27c4_74972557(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('customer/my-account.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false)
in SmartyDev.php line 40
at SmartyDev->fetch('customer/my-account.tpl', null, 'layouts/layout-full-width.tpl')
in FrontController.php line 682
at FrontControllerCore->smartyOutputContent('customer/my-account.tpl')
in FrontController.php line 666
at FrontControllerCore->display()
in Controller.php line 301
at ControllerCore->run()
in Dispatcher.php line 509
at DispatcherCore->dispatch()
in index.php line 28

He borrado la carpeta var/cache y no cambio nada

Anotación 2019-10-11 093013.jpg

Link to comment
Share on other sites

  • 3 months later...

Tienes el mismo modulo?

Lo que hice fue crear otra cuenta de cliente y asociar la cuenta de vendedor a esa nueva cuenta de cliente.

Creo que lo que estaba causando el problema era que tenia una clon de la tienda en una subcarpeta.
Ojala te sirva mi solución.

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