1313 0 0 0
Last Updated : 2025-04-28 23:49:39
If you installed the new composer on php version 7.1, this will show an error like this : Class UpdateHelper\ComposerPlugin contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (Composer\Plugin\PluginInterface::deactivate, Composer\Plugin\PluginInterface::uninstall) in /var/www/vhosts/example.com/vendor/kylekatarnls/update-helper/src/UpdateHelper/ComposerPlugin.php on line 11 Here is a solution to this issue
You need to remove/delete the following folder from vendor directory :
vendor/kylekatarnls
Then run the following command :
composer update --prefer-source
Then this command :
composer dump-autoload