I have a symfony project and recently started getting this error on console commands with no reason. I don’t have a custom validator, it’s a simple app with 2 entities and a form. I don’t understand what to do to fix this.
PHP Fatal error: Class SymfonyComponentValidatorConstraint cannot implement interface Throwable, extend Exception or Error instead in vendorsymfonyvalidatorConstraint.php on line 30
[critical] Fatal Error: Class SymfonyComponentValidatorConstraint cannot implement interface Throwable, extend Exception or Error instead