Title: Errors when working with wp cli
Last modified: February 23, 2022

---

# Errors when working with wp cli

 *  [Shmuel Maruani (Sam)](https://wordpress.org/support/users/101sam/)
 * (@101sam)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/errors-when-working-with-wp-cli/)
 * We are running on NGINX with php-fpm 8.1 on Ubuntu
    Domain: [https://kidsontheyard.com](https://kidsontheyard.com)
   When we try command line:
 *     ```
       wp search-replace "A" "B" 
       ```
   
 * we get the following errors:
 *     ```
       Error: 'search-replace' is not a registered subcommand of 'config'. See 'wp help config' for available subcommands.
       PHP Warning:  Undefined array key "QUERY_STRING" in /httpdocs/wp-content/plugins/wp-meteor/frontend/Rewrite.php on line 107
       Warning: Undefined array key "QUERY_STRING" in /httpdocs/wp-content/plugins/wp-meteor/frontend/Rewrite.php on line 107
       ```
   
 * No errors when we try:
 *     ```
       wp config list
       ```
   
 * kindly any advise
    -  This topic was modified 4 years, 3 months ago by [Shmuel Maruani (Sam)](https://wordpress.org/support/users/101sam/).

Viewing 1 replies (of 1 total)

 *  Thread Starter [Shmuel Maruani (Sam)](https://wordpress.org/support/users/101sam/)
 * (@101sam)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/errors-when-working-with-wp-cli/#post-15418374)
 * any update?
 *     ```
       sudo wp config --help --allow-root
   
       PHP Warning:  Undefined array key "QUERY_STRING" in /httpdocs/wp-content/plugins/wp-meteor/frontend/Base.php on line 29
       Warning: Undefined array key "QUERY_STRING" in /httpdocs/wp-content/plugins/wp-meteor/frontend/Base.php on line 29
       PHP Warning:  Undefined array key "QUERY_STRING" in /httpdocs/wp-content/plugins/wp-meteor/frontend/Rewrite.php on line 107
       Warning: Undefined array key "QUERY_STRING" in /httpdocs/wp-content/plugins/wp-meteor/frontend/Rewrite.php on line 107
       PHP Warning:  Undefined array key "QUERY_STRING" in /httpdocs/wp-content/plugins/wp-meteor/frontend/Rewrite.php on line 107
       Warning: Undefined array key "QUERY_STRING" in /httpdocs/wp-content/plugins/wp-meteor/frontend/Rewrite.php on line 107
       ```
   
 * `
    -  This reply was modified 4 years, 2 months ago by [Shmuel Maruani (Sam)](https://wordpress.org/support/users/101sam/).

Viewing 1 replies (of 1 total)

The topic ‘Errors when working with wp cli’ is closed to new replies.

 * ![](https://ps.w.org/wp-meteor/assets/icon.svg?rev=2452791)
 * [WP Meteor Website Speed Optimization Addon](https://wordpress.org/plugins/wp-meteor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-meteor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-meteor/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-meteor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-meteor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-meteor/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [Shmuel Maruani (Sam)](https://wordpress.org/support/users/101sam/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/errors-when-working-with-wp-cli/#post-15418374)
 * Status: not resolved