Composer error when i try to use composer commands
i am trying to use compose update but getting below error,
Fatal error: 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 /projectpath/public_html/vendor/kylekatarnls/update-helper/src/UpdateHelper/ComposerPlugin.php on line 11
I am using "laravel/framework": "5.5.*",
Any suggestions/Fix?
Shall i delete kylekatarnls folder inside vendor?
I have had to delete the directory kylekatarnls located inside my vendor directory then run composer update --prefer-source and after that composer dump-autoload.
@tisuchi Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.2.5". You are running 7.1.33. in /projectpath/public_html/vendor/composer/platform_check.php on line 24
@deekshith This means, your php version is 7.1.33 but for some reasons (probably some of the packages need a higher version of php) composer required 7.2.5 version or above.
So, if possible, I strongly suggest you to upgrade php version at least. It's recommeneded also to upgradate Laravel version (The current version is 8 and you are using 5.5)