Title: Warning when using WP-CLI
Last modified: December 2, 2022

---

# Warning when using WP-CLI

 *  Resolved [isoptera2000](https://wordpress.org/support/users/isoptera2000/)
 * (@isoptera2000)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/warning-when-using-wp-cli/)
 * Hi!
    When importing goods via wp-cli, I started receiving such a notification:**
   PHP Notice: Undefined index: REQUEST_URI in /home/my-site.com/public_html/wp-
   content/plugins/all-in-one-wp-security-and-firewall/classes/firewall/rule/rules/
   rule-cookie-prevent-bruteforce.php on line 54** Is there a solution? Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Support [aporter](https://wordpress.org/support/users/aporter/)
 * (@aporter)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/warning-when-using-wp-cli/#post-16254328)
 * Hi,
 * Thanks for the report.
 * Are you able to share the exact WP-CLI command that is causing that notice to
   appear?
 * I’m having trouble getting it to output so not able to test a fix.
 * Best Wishes,
 * Ashley
 *  Plugin Support [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * (@hjogiupdraftplus)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/warning-when-using-wp-cli/#post-16257691)
 * [@isoptera2000](https://wordpress.org/support/users/isoptera2000/)
 * I can replicate the issue, We will resolve issue and get back to you asap.
 * Regards
 *  Thread Starter [isoptera2000](https://wordpress.org/support/users/isoptera2000/)
 * (@isoptera2000)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/warning-when-using-wp-cli/#post-16258572)
 * Mmmm. I don’t think it’s any serious. So the import takes place in the normal
   mode. I use wp all import.
    I use the standard command to start the import: wp
   all-import run <import id>
 *  Thread Starter [isoptera2000](https://wordpress.org/support/users/isoptera2000/)
 * (@isoptera2000)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/warning-when-using-wp-cli/#post-16258575)
 * Well, accordingly, <import identifier> is a number that wp all import stores 
   as an identifier of a specific import
    -  This reply was modified 3 years, 5 months ago by [isoptera2000](https://wordpress.org/support/users/isoptera2000/).
 *  Thread Starter [isoptera2000](https://wordpress.org/support/users/isoptera2000/)
 * (@isoptera2000)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/warning-when-using-wp-cli/#post-16274163)
 * Well, actually, the problem is not solved? Where did she get her status resolved
   from?
 *  Plugin Support [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * (@hjogiupdraftplus)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/warning-when-using-wp-cli/#post-16274191)
 * [@isoptera2000](https://wordpress.org/support/users/isoptera2000/)
 * Did you downloaded the latest version AIOS 5.1.2. It has that issue resolved.
 * Regards

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Warning when using WP-CLI’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-wp-security-and-firewall/assets/icon-256x256.
   png?rev=2798307)
 * [All-In-One Security (AIOS) – Security and Firewall](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/warning-when-using-wp-cli/#post-16274191)
 * Status: resolved