Naturel Deluxe Posted April 19, 2019 Share Posted April 19, 2019 Just started to upgrade our prestashop from 1.7.4.2 to 1.7.5.1, using 1-click upgrade module. The upgrade seems to work fine (just 3 warnings about the d-base). Unfortionally the upgrade didn`t preform well, the shop and backoffice are returning a blank http 500 error screen. When I try to enable debug modus I get the following message: (1/1) FatalThrowableError Call to a member function getRequestUri() on null in Dispatcher.php line 533 at DispatcherCore->setRequestUri()in Dispatcher.php line 60 at Dispatcher->__construct(object(Request))in Dispatcher.php line 207 at DispatcherCore::getInstance()in index.php line 99 In the logs I did found an exeption: *ERROR* v1.7.5.1 2019/04/19 - 12:30:02: Cannot select any valid SQL engine. at line 302 in file classes/db/Db.php Somebody can help me to solve this issue? Thanks in advance! Link to comment Share on other sites More sharing options...
Naturel Deluxe Posted April 19, 2019 Author Share Posted April 19, 2019 On front-end I get the same error: Fatal error: Uncaught Error: Call to a member function getRequestUri() on null in /home/mitchni82/domains/natureldeluxe.be/public_html/classes/Dispatcher.php:533 Stack trace: #0 /home/mitchni82/domains/natureldeluxe.be/public_html/override/classes/Dispatcher.php(60): DispatcherCore->setRequestUri() #1 /home/mitchni82/domains/natureldeluxe.be/public_html/classes/Dispatcher.php(207): Dispatcher->__construct(Object(Symfony\Component\HttpFoundation\Request)) #2 /home/mitchni82/domains/natureldeluxe.be/public_html/index.php(28): DispatcherCore::getInstance() #3 {main} thrown in /home/mitchni82/domains/natureldeluxe.be/public_html/classes/Dispatcher.php on line 533 Link to comment Share on other sites More sharing options...
Naturel Deluxe Posted April 19, 2019 Author Share Posted April 19, 2019 I did found the issue - but it is not solved yet. The issue is related to a override of the dispatcher. This override is for the module clean url - from vekia - vekia, I hope you can help me with this? Link to comment Share on other sites More sharing options...
jenishfaldu Posted April 27, 2019 Share Posted April 27, 2019 @Naturel Deluxe you are right, this error belongs to the "purls" module. only @vekia can help to resolve this bug while upgrading PrestaShop version. Link to comment Share on other sites More sharing options...
HaCos Posted September 24, 2020 Share Posted September 24, 2020 Did you resolved this case? I have similar problem. Link to comment Share on other sites More sharing options...
chartmen Posted September 27, 2020 Share Posted September 27, 2020 @vekia i have the same issue with prestashop version 1.7.6.8 and latest purl version. Webshop currently offline due this issue. Can you please help? Link to comment Share on other sites More sharing options...
chartmen Posted September 27, 2020 Share Posted September 27, 2020 @Crezzur the error message is Sun Sep 27 20:48:32.628849 2020] [proxy_fcgi:error] [pid 31955:tid 140563088938752] [client 66.249.70.26:51967] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function getRequestUri() on null in /home/slady/domains//public_html/classes/Dispatcher.php:540\nStack trace:\n#0 /home/slady/domains/(Romain)/public_html/override/classes/Dispatcher.php(44): DispatcherCore->setRequestUri()\n#1 /home/slady/domains//public_html/classes/Dispatcher.php(207): Dispatcher->__construct(Object(Symfony\\Component\\HttpFoundation\\Request))\n#2 /home/slady/domains/l/public_html/index.php(28): DispatcherCore::getInstance()\n#3 {main}\n thrown' 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