Error to Upgrade matomo 4.14.1 to 5.0.2

PHP Fatal error: Declaration of Piwik\Plugin\ConsoleCommand::addArgument(string $name, ?int $mode = null, string $description = ‘’, $default = null) must be compatible with Symfony\Component\Console\Command\Command::addArgument($name, $mode = null, $description = ‘’, $default = null) in /piwik/core/Plugin/ConsoleCommand.php on line 256
Hi I have this error when I run a command with php console core:update or any command.

Hi @uchiha
Can you list all Plugin that are installed in your Matomo?