Closed arhimede closed 1 week ago
It seems to be working fine.
php bin/doctrine orm:validate-schema
Mapping
-------
[OK] The mapping files are correct.
Database
--------
[OK] The database schema is in sync with the mapping files.
Did you try clearing Doctrine cache?
sudo rm -rf data/cache/doctrine/ data/cache/DoctrineEntityProxy/
online on api.dotkernel.net is still the error clean cache or no cache
PHP Fatal error: Cannot declare class Api\User\Entity\UserRole, because the name is already in use in /var/www/vhosts/api.dotkernel.net/httpdocs/src/User/src/Entity/Api/User/Entity/UserRole.php on line 8
php bin/doctrine orm:validate-schema
returns:
PHP Fatal error: Cannot declare class Api\User\Entity\UserAvatar, because the name is already in use in /var/www/vhosts/api.dotkernel.net/httpdocs/src/User/src/Entity/UserAvatar.php on line 17