I'm getting a weird error on a project in prod environment
The autoloader expected class "Sensio\Bundle\DistributionBundle\Configurator\Configurator" to be defined in file "/var/www/clients/client1/web18/web/vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Configurator/Configurator.php". The file was found but the class was not in it, the class name or namespace probably has a typo.
Everything works fine in localhost, I tried to update everything using composer, still getting the same error.