mnick Posted December 21, 2018 Share Posted December 21, 2018 hello I was try to upgrade my site from ps 1.7.4.2 to 1.7.5.0 but after upgrade i have this error and after this my front page and back office page are blank I use 1-click upgrade 4.5.1 module help please [INTERNAL] /home/nuovai/public_html/prestashop/classes/Dispatcher.php line 531 - Error: Call to a member function getRequestUri() on null #0 /home/nuovai/public_html/prestashop/override/classes/Dispatcher.php(60): DispatcherCore->setRequestUri() #1 /home/nuovai/public_html/prestashop/classes/Dispatcher.php(205): Dispatcher->__construct(Object(Symfony\Component\HttpFoundation\Request)) #2 /home/nuovai/public_html/prestashop/classes/Link.php(807): DispatcherCore::getInstance() #3 /home/nuovai/public_html/prestashop/modules/ps_themecusto/ps_themecusto.php(61): LinkCore->getAdminLink('AdminPsThemeCus...') #4 [internal function]: ps_themecusto->__construct() #5 /home/nuovai/public_html/prestashop/src/Core/Foundation/IoC/Container.php(130): ReflectionClass->newInstance() #6 /home/nuovai/public_html/prestashop/src/Core/Foundation/IoC/Container.php(163): PrestaShop\PrestaShop\Core\Foundation\IoC\Container->makeInstanceFromClassName('ps_themecusto', Array) #7 /home/nuovai/public_html/prestashop/src/Core/Foundation/IoC/Container.php(176): PrestaShop\PrestaShop\Core\Foundation\IoC\Container->doMake('ps_themecusto', Array) #8 /home/nuovai/public_html/prestashop/src/Adapter/ServiceLocator.php(65): PrestaShop\PrestaShop\Core\Foundation\IoC\Container->make('ps_themecusto') #9 /home/nuovai/public_html/prestashop/classes/module/Module.php(1137): PrestaShop\PrestaShop\Adapter\ServiceLocator::get('ps_themecusto') #10 /home/nuovai/public_html/prestashop/classes/module/Module.php(1116): ModuleCore::coreLoadModule('ps_themecusto') #11 /home/nuovai/public_html/prestashop/classes/module/Module.php(1881): ModuleCore::getInstanceByName('ps_themecusto') #12 /home/nuovai/public_html/prestashop/classes/module/Module.php(1835): ModuleCore::checkModuleFromAddonsApi('ps_themecusto') #13 /home/nuovai/public_html/prestashop/classes/module/Module.php(1730): ModuleCore::generateTrustedXml() #14 /home/nuovai/public_html/prestashop/classes/module/Module.php(1388): ModuleCore::isModuleTrusted('statsvisits') #15 /home/nuovai/public_html/prestashop/modules/autoupgrade/classes/TaskRunner/Upgrade/UpgradeModules.php(158): ModuleCore::getModulesOnDisk() #16 /home/nuovai/public_html/prestashop/modules/autoupgrade/classes/TaskRunner/Upgrade/UpgradeModules.php(45): PrestaShop\Module\AutoUpgrade\TaskRunner\Upgrade\UpgradeModules->warmUp() #17 /home/nuovai/public_html/prestashop/settings/autoupgrade/ajax-upgradetab.php(52): PrestaShop\Module\AutoUpgrade\TaskRunner\Upgrade\UpgradeModules->run() #18 {main} Ro Link to comment Share on other sites More sharing options...
Rhobur Posted December 22, 2018 Share Posted December 22, 2018 Those DB messages do not impede on installing, they are just warnings. Your problem is the override file, /home/nuovai/public_html/prestashop/override/classes/Dispatcher.php, I'd say you first rename it temporarily to /home/nuovai/public_html/prestashop/override/classes/__Dispatcher.php and then upgrade PS. then if you still need the overridden Dispatcher.php, you need to see what in its code is not compatible. Link to comment Share on other sites More sharing options...
mnick Posted December 22, 2018 Author Share Posted December 22, 2018 Thank you Rhobur. I find the issue. Link to comment Share on other sites More sharing options...
mrhawk Posted January 18, 2019 Share Posted January 18, 2019 Hi, I have the same error as yours. How did you solve it? how did Rhobur suggest? Thank you. 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