{"id":16336431,"date":"2023-01-02T22:07:28","date_gmt":"2023-01-02T22:07:28","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/error-when-using-wp-cli-3\/"},"modified":"2023-01-02T22:07:28","modified_gmt":"2023-01-02T22:07:28","slug":"error-when-using-wp-cli-3","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/error-when-using-wp-cli-3\/","title":{"rendered":"Error when using wp cli"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I get the same error whenever I run any wordpress cli commands related to maintenance. ie<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>wp plugin update --all --path=\/var\/www\/html --dry-run<br \/>ErrorException Message: Class 'Sidecar_Plugin_Base' not found<br \/>http:\/\/example.com\/wp-content\/plugins\/dmca-badge\/libraries\/imperative\/No plugin updates available.<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The same error happens if I run <code>wp theme update ...<\/code> or any other command<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"template":"","class_list":["post-16336431","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16336431","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16336431\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=16336431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}