wilee Posted September 7, 2018 Share Posted September 7, 2018 Hello I migrated my site to a new hosting server. On the new hosting, I got the following errors in the backoffice. (debug mode turned on) From "Modules" -> "Modules & Services" Attempted to load class "SQLParserUtils" from namespace "Doctrine\DBAL". Did you forget a "use" statement for another namespace? From "Shop Parameters" -> "General" and others and also "Advanced Parameters" -> various The autoloader expected class "Doctrine\DBAL\SQLParserUtils" to be defined in file "/home/venusb6/public_html/vendor/composer/../doctrine/dbal/lib/Doctrine/DBAL/SQLParserUtils.php". The file was found but the class was not in it, the class name or namespace probably has a typo. On the old hosting, everything is good. I download and upload to the new hosting, Front-End is looking good, but various places in the Back-End admin area I'm getting these. I am thinking if these is some PHP extensions i need to add? Or some scripts needed to be run? Prestashop version is 1.7.4.2, PHP is 7.2 Please if anyone has any idea where should I look. Thanks. Link to comment Share on other sites More sharing options...
Knowband Plugins Posted September 9, 2018 Share Posted September 9, 2018 Did you check the same after clearing the cache from the backend? We have noticed that this error i.e. "Did you forget a "use" statement for another namespace?", comes due to cache issue as well. 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