Courage2000 Posted January 14, 2021 Share Posted January 14, 2021 (edited) [INTERNAL] /var/www/xxxxx/src/PrestaShopBundle/Controller/Admin/CommonController_orig.php line 0 - Cannot declare class PrestaShopBundle\Controller\Admin\CommonController, because the name is already in use I get this error when I try to upgrade from 1.7.6.7 to 1.7.7.1 Quote [INTERNAL] /var/www/cakerevolution.ro/src/PrestaShopBundle/Controller/Admin/CommonController_orig.php line 0 - Cannot declare class PrestaShopBundle\Controller\Admin\CommonController, because the name is already in use 1-Click upgrade script Edited January 14, 2021 by Courage2000 (see edit history) Link to comment Share on other sites More sharing options...
Courage2000 Posted January 14, 2021 Author Share Posted January 14, 2021 I've tried also manual upgrade. php install/upgrade/upgrade.php I get instant error Quote PHP Fatal error: Cannot declare class PrestaShopBundle\Controller\Admin\CommonController, because the name is already in use in /var/www/cakerevolution.ro/src/PrestaShopBundle/Controller/Admin/CommonController_orig.php on line 0 PHP 7.2.34 (cli) (built: Jan 4 2021 14:20:18) ( NTS ) Link to comment Share on other sites More sharing options...
Prestachamps Posted January 14, 2021 Share Posted January 14, 2021 Hi, it looks like you have a non valid Prestashop file, or you've duplicated it, so you should rename the file /src/PrestaShopBundle/Controller/Admin/CommonController_orig.php to something like CommonController_orig.php.OLD , something anything but not .php extension, or make a backup of it and delete it, as it seems that this one is causing your error. Kind regards, Leo 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