• Resolved realmccoyzz

    (@realmccoyzz)


    I ran the wp plugin list command with wp-cli,
    but as described below, I couldn’t see any plugins.

    +-------------+----------+--------+---------+
    | name        | status   | update | version |
    +-------------+----------+--------+---------+
    +-------------+----------+--------+---------+

    Actually, there are about 30 plugins in my WordPress.
    Is it such an error because my WordPress is “multi-site”?
    What are the possible causes?

    • wp theme status and wp core update commands work fine.
    • wp plugin verify-checksums commands work fine. All plugins are displayed.
    • This topic was modified 2 years, 12 months ago by realmccoyzz.
    • This topic was modified 2 years, 12 months ago by realmccoyzz.
    • This topic was modified 2 years, 12 months ago by realmccoyzz.
    • This topic was modified 2 years, 12 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
Viewing 10 replies - 1 through 10 (of 10 total)
  • Can you please check the version of wp cli using wp --version? and make sure you’re using current stable version.

    • This reply was modified 2 years, 12 months ago by Vijay Hardaha.
    Thread Starter realmccoyzz

    (@realmccoyzz)

    @vijayhardaha
    I use WP-CLI 2.6.0
    current stable version.

    try this wp site list --field=url | xargs -I % wp plugin list --url=% and see if you get results
    Ref: https://developer.www.ads-software.com/cli/commands/plugin/list/#examples

    Thread Starter realmccoyzz

    (@realmccoyzz)

    @vijayhardaha

    It seems to work as below, but the plugin is not detected.

    +-------------+----------+--------+---------+
    | name        | status   | update | version |
    +-------------+----------+--------+---------+
    +-------------+----------+--------+---------+
    +-------------+----------+--------+---------+
    | name        | status   | update | version |
    +-------------+----------+--------+---------+
    +-------------+----------+--------+---------+
    +-------------+----------+--------+---------+
    | name        | status   | update | version |
    +-------------+----------+--------+---------+
    +-------------+----------+--------+---------+
    +-------------+----------+--------+---------+
    | name        | status   | update | version |
    +-------------+----------+--------+---------+
    +-------------+----------+--------+---------+
    +-------------+----------+--------+---------+
    | name        | status   | update | version |
    +-------------+----------+--------+---------+
    +-------------+----------+--------+---------+
    +-------------+----------+--------+---------+
    | name        | status   | update | version |
    +-------------+----------+--------+---------+
    +-------------+----------+--------+---------+
    +-------------+----------+--------+---------+
    | name        | status   | update | version |
    +-------------+----------+--------+---------+
    +-------------+----------+--------+---------+

    Can you find anything in the error log?

    Thread Starter realmccoyzz

    (@realmccoyzz)

    @vijayhardaha

    There are no errors.
    If this is the case with normal behavior, it seems necessary to understand how wp-cli works.

    I have tested, wp plugin list with my localhost multisite it works fine. I am trying to dig why it’s not showing the output. for sure it’s able to do many things but for some reason, it’s not showing the plugin output.

    Can you try these tests if you can:

    1. Deactivate all the plugins from the network then run the cli
    2. If that solves the issue then follow one by one activate method and find the issue
    3. If doesn’t solve the problem then move all plugins folders to somewhere else then add them back one by one and track the issue after each folder is restored.

    I am sure something is blocking that output. Also, try to install another fresh website on localhost and run the same command, then convert it to multisite and check again to know if that is just that website or all websites have the same issue

    Thread Starter realmccoyzz

    (@realmccoyzz)

    @vijayhardaha

    Thank you!
    I disabled the Admin Menu Editor Pro plugin and it worked fine!
    This plugin seems to have interfered.
    and, I couldn’t update only this plugin for some reason.

    • This reply was modified 2 years, 12 months ago by realmccoyzz.

    Glad to know, you solved it.
    If you have a valid license for the plugin you can report the issue to the plugin support team so that it can get fixed.

    Thread Starter realmccoyzz

    (@realmccoyzz)

    thank you.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘“wp plugin list” is not working’ is closed to new replies.