Home > Development Tools > composer > Composer update dependency error reporting Fatal error solution

Composer update dependency error reporting Fatal error solution

little bottle
Release: 2019-08-02 16:35:37
forward
5243 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:
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
Latest Issues
Composer failed to install TP51
From 1970-01-01 08:00:00
0
0
0
PHP study installation composer cannot be used
From 1970-01-01 08:00:00
0
0
0
php - Error using composer
From 1970-01-01 08:00:00
0
0
0
ThinkPHP Why use composer?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template