Support » Networking WordPress » wp-cli db tables lists non-existent tables

  • Resolved joncomputing

    (@adiant)


    The WP-CLI command
    wp db tables --url=sub.domain.com --format=csv --skip-plugins --skip-themes --allow-root
    lists at least one non-existent table on my two WordPress Networks: wp_sitecategories

    I’m not sure whether to report this as a WP-CLI “bug” or “design error”, or a WordPress “bug” or “design error”. https://developer.wordpress.org/cli/commands/db/tables/ implies that the list of tables comes from those registered to the $wpdb database handler.

    Whatever the reason, having “wp db tables” list non-existent tables makes any other WP-CLI command based on it error-prone.

    Mainly, I’m looking for advice on how (and if) I should be reporting this problem, to help improve WP-CLI.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thanks for the report, @adiant.

    I’m not sure whether to report this as a WP-CLI “bug” or “design error”, or a WordPress “bug” or “design error”.

    I’m in the same camp (and I’m surprised you’re the first to observe this).

    I’ve created an issue in the db-command repo for visibility and so we can discuss further.

    Thank you very much! I’ll keep an eye on the discussion there.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wp-cli db tables lists non-existent tables’ is closed to new replies.