Jump to content

Error 500 in backoffice ver 1.7.7.4


lordhanuman

Recommended Posts

Hi everyone, I am literally going crazy with a 500 error when I log into the backoffice. Clearly I tried to clear the cache in the /dev  cache directory but to no avail. debugging this error comes out but I can't figure out how to fix it. I tried to disable the module from phpmyadmin but to no avail

[2022-04-21 02:59:40] request.CRITICAL: Uncaught PHP Exception ReflectionException: "Class PrestaShop\Module\Ps_metrics\Module\DashboardModules does not exist" at /var/www/clients/clientX/webXX/web/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php line 1174 {"exception":"[object] (ReflectionException(code: -1): Class PrestaShop\\Module\\Ps_metrics\\Module\\DashboardModules does not exist at /var/www/clients/clientX/webXX/web/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php:1174)"} []
[2022-04-21 02:59:48] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\ClassNotFoundException: "Attempted to load class "DashboardModules" from namespace "PrestaShop\Module\Ps_metrics\Module". Did you forget a "use" statement for another namespace?" at /var/www/clients/clientX/webXX/web/var/cache/prod/Ps_metricsAdminContainer.php line 630 {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\ClassNotFoundException(code: 0): Attempted to load class \"DashboardModules\" from namespace \"PrestaShop\\Module\\Ps_metrics\\Module\".\nDid you forget a \"use\" statement for another namespace? at /var/www/clients/client0/web28/web/var/cache/prod/Ps_metricsAdminContainer.php:630)"} []

 

Is this what gives me the 500 error or is it a misleading message?

Edited by lordhanuman (see edit history)
Link to comment
Share on other sites

4 minutes ago, juanrojas said:

when you changed the name and cleared the cache does it give you the same problem?

no I no longer have the problem, it lets me enter the back office but I would not like to keep the renamed module, I would like to fix the situation by updating it to the latest version if possible

 

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