Jump to content

Error after upgrade to 1.7.5.1 (stable) using 1-click upgrade


Naturel Deluxe

Recommended Posts

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

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

  • 1 year later...

@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

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