Home>Article>Development Tools> Composer update dependency error reporting Fatal error solution
This article mainly talks about the solution for updating Composer dependency error reporting. Friends who have the same problem should also learn about it.
Fatal error: Declaration of Fxp\Composer\AssetPlugin\Repository\AbstractAssetsRe pository::search() must be compatible with Composer\Repository\RepositoryInterfa ce::search($query, $mode = 0, $type = NULL) in C:\Users\Arthur\AppData\Roaming\C omposer\vendor\fxp\composer-asset-plugin\Repository\AbstractAssetsRepository.php on line 334
Solution:
composer global remove fxp/composer-asset-plugin --no-plugins
Related recommendations: [composer tutorial]
The above is the detailed content of Composer update dependency error reporting Fatal error solution. For more information, please follow other related articles on the PHP Chinese website!