Composer update dependency error reporting Fatal error solution

little bottle
Release: 2019-08-02 16:35:37
forward
5146 people have browsed it

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
Copy after login

Solution:

composer global remove fxp/composer-asset-plugin --no-plugins
Copy after login

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!

Related labels:
source:cnblogs.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!