You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having the following problem while deploying a shopware application:
[staging] PHP Fatal error: Cannot declare class Doctrine\DBAL\Connection, because the name is already in use in [...]releases/2023_05_17_181602/vendor/doctrine/dbal/src/Connection.php on line 53
The strange thing here is that PHP is being executed inside another release directory (releases/2023_05_17_181924), and for some reason, it is considering the older release folder files too.
I have tried to restart php-fpm, for example, but it is not the case.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I'm having the following problem while deploying a shopware application:
[staging] PHP Fatal error: Cannot declare class Doctrine\DBAL\Connection, because the name is already in use in [...]releases/2023_05_17_181602/vendor/doctrine/dbal/src/Connection.php on line 53
The strange thing here is that PHP is being executed inside another release directory (releases/2023_05_17_181924), and for some reason, it is considering the older release folder files too.
I have tried to restart php-fpm, for example, but it is not the case.
Do you have any idea how to resolve it?
Beta Was this translation helpful? Give feedback.
All reactions