Emmker Posted November 11, 2017 Share Posted November 11, 2017 Hi. I ve just changed the domain name of my prestashop installation and now my from office is showing a 500 server error. After I turned on debug mode it shows: Quote Whoops, looks like something went wrong. 1/1ContextErrorException in a0693a88dc826fcda622c0a13a47e5a92d529ad3.file.megamenu.tpl.php line 151:Notice: Trying to get property of non-object in a0693a88dc826fcda622c0a13a47e5a92d529ad3.file.megamenu.tpl.php line 151 at ErrorHandler->handleError('8', 'Trying to get property of non-object', '/home3/emmker/public_html/floo/app/cache/dev/smarty/compile/a0/69/3a/a0693a88dc826fcda622c0a13a47e5a92d529ad3.file.megamenu.tpl.php', '151', array('_smarty_tpl' => object(Smarty_Dev_Template), '_from' => array(array('link' => 'http://dotstore.site/floo/en/contact-us', 'title' => 'Contact us')))) in a0693a88dc826fcda622c0a13a47e5a92d529ad3.file.megamenu.tpl.php line 151 at content_5a06b9d3de19e4_98795902(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php line 188 at Smarty_Internal_TemplateBase->fetch(null, null, null, null, false, true, false) in SmartyDev.php line 60 at Smarty_Dev_Template->fetch() in Module.php line 2242 at ModuleCore->display('/home3/emmker/public_html/floo/modules/posmegamenu/posmegamenu.php', 'megamenu.tpl') in posmegamenu.php line 1282 at Posmegamenu->hookdisplayMegamenu(array('smarty' => object(Smarty_Dev_Template), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '1')) in Hook.php line 895 at HookCore::coreCallHook(object(Posmegamenu), 'hookdisplayMegamenu', array('smarty' => object(Smarty_Dev_Template), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '1')) in Hook.php line 327 at HookCore::callHookOn(object(Posmegamenu), 'displayMegamenu', array('smarty' => object(Smarty_Dev_Template), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '1')) in Hook.php line 843 at HookCore::exec('displayMegamenu', array('smarty' => object(Smarty_Dev_Template)), null) in smarty.config.inc.php line 168 at smartyHook(array('h' => 'displayMegamenu'), object(Smarty_Dev_Template)) at call_user_func_array('smartyHook', array(array('h' => 'displayMegamenu'), object(Smarty_Dev_Template))) in SmartyLazyRegister.php line 83 at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayMegamenu'), object(Smarty_Dev_Template))) in b47910e43432b9217f2dd949ffd9510d4cb48b9d.file.index.tpl.php line 426 at SmartyLazyRegister->smartyHook(array('h' => 'displayMegamenu'), object(Smarty_Dev_Template)) in b47910e43432b9217f2dd949ffd9510d4cb48b9d.file.index.tpl.php line 426 at content_5a06b9d38f0923_11133517(object(Smarty_Dev_Template)) in b47910e43432b9217f2dd949ffd9510d4cb48b9d.file.index.tpl.php line 131 at content_5a06b9d3ac13a7_51629363(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php line 188 at Smarty_Internal_TemplateBase->fetch('index.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false) in SmartyDev.php line 41 at SmartyDev->fetch('index.tpl', null, 'layouts/layout-full-width.tpl') in FrontController.php line 671 at FrontControllerCore->smartyOutputContent('index.tpl') in FrontController.php line 655 at FrontControllerCore->display() in Controller.php line 225 at ControllerCore->run() in Dispatcher.php line 379 at DispatcherCore->dispatch() in index.php line 28 Any thoughts? I am lost here. Link to comment Share on other sites More sharing options...
PeterDesouza Posted November 11, 2017 Share Posted November 11, 2017 Hi, Please regenerate .htaccess file by enable/disable SEO url and then check. Link to comment Share on other sites More sharing options...
Emmker Posted November 11, 2017 Author Share Posted November 11, 2017 7 minutes ago, PeterDesouza said: Hi, Please regenerate .htaccess file by enable/disable SEO url and then check. Can you please tell my how? There is no .htaccess file in my root folder. Link to comment Share on other sites More sharing options...
PeterDesouza Posted November 11, 2017 Share Posted November 11, 2017 If you are using Prestashop 1.6x then login in admin -> Preferences -> SEO & URLs. and If you are using Prestashop 1.7x then login in admin -> Traffic & SEO -> SEO & URLs. Here you will find enable/disable friendly url setting. Link to comment Share on other sites More sharing options...
Emmker Posted November 11, 2017 Author Share Posted November 11, 2017 Thanx for your response. I just dit it and I have the same problem Link to comment Share on other sites More sharing options...
TiaNex Shopping Posted November 11, 2017 Share Posted November 11, 2017 (edited) i just upgrade one store to 1.7, you need change the domain url in ps_configuration table and ps_shop_url table please check the premission of the files ------------------------------------------------ if you still can upgrade ,you can choose our upgrade service https://www.vicoffers.com/en/detail/22/upgrade-prestashop-16x-to-prestashop-17-x.html Edited November 11, 2017 by VicOffers (see edit history) 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