{"id":179,"date":"2020-04-01T15:13:03","date_gmt":"2020-04-01T07:13:03","guid":{"rendered":"http:\/\/blog.yuekegu.com\/?p=179"},"modified":"2020-04-01T15:13:03","modified_gmt":"2020-04-01T07:13:03","slug":"%e6%9b%b4%e6%96%b0composer%e4%be%9d%e8%b5%96%e6%8a%a5%e9%94%99%e5%a4%84%e7%90%86fatal-error-declaration-of-fxpcomposerassetpluginrepositoryabstractassetsre","status":"publish","type":"post","link":"http:\/\/blog.yuekegu.com\/?p=179","title":{"rendered":"\u66f4\u65b0Composer\u4f9d\u8d56\u62a5\u9519\u5904\u7406Fatal error: Declaration of Fxp\\Composer\\AssetPlugin\\Repository\\AbstractAssetsRe"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>\u66f4\u65b0Composer\u4f9d\u8d56\u62a5\u9519\u5904\u7406<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>Fatal error: Declaration of Fxp\\Composer\\AssetPlugin\\Repository\\AbstractAssetsRe\n    pository::search() must be compatible with Composer\\Repository\\RepositoryInterfa\n    ce::search($query, $mode = 0, $type = NULL) in C:\\Users\\Arthur\\AppData\\Roaming\\C\n    omposer\\vendor\\fxp\\composer-asset-plugin\\Repository\\AbstractAssetsRepository.php\n     on line 334<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>\u89e3\u51b3\u65b9\u6848\uff1a<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">composer global remove fxp\/composer-asset-plugin --no-plugins<\/pre>\n\n\n\n<p><\/p>\n","raw":"","protected":false},"excerpt":{"rendered":"<p>composer global remove fxp\/composer-asset-plugin &#8211;no-p &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/blog.yuekegu.com\/?p=179\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201c\u66f4\u65b0Composer\u4f9d\u8d56\u62a5\u9519\u5904\u7406Fatal error: Declaration of Fxp\\Composer\\AssetPlugin\\Repository\\AbstractAssetsRe\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[],"post_thumbnail_image":"","content_first_image":"","post_medium_image_300":"","post_thumbnail_image_624":"","post_frist_image":"","post_medium_image":"","post_large_image":"","post_full_image":"","post_all_images":[],"videoAdId":"","listAd":"0","listAdId":"","listAdEvery":5,"total_comments":0,"category_name":"Composer","post_date":"2020-04-01","like_count":"0","praiseWord":"\u9f13\u52b1","copyright_state":"","excitationAd":"0","rewardedVideoAdId":"","detailAdId":"","detailAd":"0","enterpriseMinapp":"0","audios":[],"postImageUrl":false,"avatarurls":[],"related_posts":null,"pageviews":605,"next_post_id":339,"next_post_title":"Bookeditor","previous_post_id":null,"previous_post_title":null,"_links":{"self":[{"href":"http:\/\/blog.yuekegu.com\/index.php?rest_route=\/wp\/v2\/posts\/179"}],"collection":[{"href":"http:\/\/blog.yuekegu.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.yuekegu.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.yuekegu.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.yuekegu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=179"}],"version-history":[{"count":1,"href":"http:\/\/blog.yuekegu.com\/index.php?rest_route=\/wp\/v2\/posts\/179\/revisions"}],"predecessor-version":[{"id":180,"href":"http:\/\/blog.yuekegu.com\/index.php?rest_route=\/wp\/v2\/posts\/179\/revisions\/180"}],"wp:attachment":[{"href":"http:\/\/blog.yuekegu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.yuekegu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=179"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.yuekegu.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}