I got this error when I try "composer update":
Loading composer repositories with package information
Restricting packages listed in "symfony/symfony" to "5.2.*"
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Package fzaninotto/faker is abandoned, you should avoid using it. No replacement was suggested.
Package sebastian/resource-operations is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
composer/package-versions-deprecated: Generating version class...
composer/package-versions-deprecated: ...done generating version class
126 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Run composer recipes at any time to see the status of your Symfony recipes.
Executing script cache:clear [KO]
[KO]
Script cache:clear returned with error code 255
!! PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql.so' (tried: ext\pdo_mysql.so (Le module spécifié est introuvable.), ext\php_pdo_mysql.so.dll (Le module spécifié est introuvable.)) in Unknown on line 0
!! PHP Fatal error: Class ContainerVzfKDDX\Paginator_f262b94 may not inherit from final class (Knp\Component\Pager\Paginator) in C:\Users\afpa\Desktop\Git_repo\boomerang\var\cache\dev\ContainerVzfKDDX\App_KernelDevDebugContainer.php on line 13157
!! Symfony\Component\ErrorHandler\Error\FatalError {#88
!! -error: array:4 [
!! "type" => 64
!! "message" => "Class ContainerVzfKDDX\Paginator_f262b94 may not inherit from final class (Knp\Component\Pager\Paginator)"
!! "file" => "C:\Users\afpa\Desktop\Git_repo\boomerang\var\cache\dev\ContainerVzfKDDX\App_KernelDevDebugContainer.php"
!! "line" => 13157
!! ]
!! #message: "Compile Error: Class ContainerVzfKDDX\Paginator_f262b94 may not inherit from final class (Knp\Component\Pager\Paginator)"
!! #code: 0
!! #file: "C:\Users\afpa\Desktop\Git_repo\boomerang\var\cache\dev\ContainerVzfKDDX\App_KernelDevDebugContainer.php"
!! #line: 13157
!! }
!!
Script @auto-scripts was called via post-update-cmd
I tried "composer require symfony/knp-paginator-bundle
" and got this error:
[InvalidArgumentException] Could not find a matching version of package symfony/knp-paginator-bundle. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stability (de
v).
this is what have in composer.json :
"knplabs/knp-paginator-bundle": "^5.6.0"
I'm new to Symfony and on this project, I don't understand why I have this error.