Title: PHP-warning on 1.7.4 using wp-cli
Last modified: September 18, 2023

---

# PHP-warning on 1.7.4 using wp-cli

 *  [erikmelkersson](https://wordpress.org/support/users/erikmelkersson/)
 * (@erikmelkersson)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/php-warning-on-1-7-4-using-wp-cli/)
 * We use wp-cli for the mangement and when running for example:
   wp plugin listIt
   says:PHP Warning: Attempt to read property “request” on null in /…path…/wp-content/
   plugins/stax-buddy-builder/functions.php on line 497Warning: Attempt to read 
   property “request” on null in /…path…/wp-content/plugins/stax-buddy-builder/functions.
   php on line 497Using PHP 8.1.23
 * I.e. it seems it is lacking some adaption to the warnings in PHP8+

Viewing 1 replies (of 1 total)

 *  Plugin Support [john](https://wordpress.org/support/users/johnweru/)
 * (@johnweru)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/php-warning-on-1-7-4-using-wp-cli/#post-17066062)
 * Hi there,
 * Sorry about this.
 * In this case, I’m actually in a position to replicate this warning. We will be
   fixing this in the next releases. In the meantime, you can ignore it and disable
   debugging, as it shouldn’t cause any major issue within the site.
 * Once again, my apologies for this warning.
 * Kind Regards,
 * John
    -  This reply was modified 2 years, 8 months ago by [john](https://wordpress.org/support/users/johnweru/).

Viewing 1 replies (of 1 total)

The topic ‘PHP-warning on 1.7.4 using wp-cli’ is closed to new replies.

 * ![](https://ps.w.org/stax-buddy-builder/assets/icon-256x256.png?rev=2534986)
 * [BuddyPress Builder for Elementor - BuddyBuilder](https://wordpress.org/plugins/stax-buddy-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/stax-buddy-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/stax-buddy-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/stax-buddy-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/stax-buddy-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/stax-buddy-builder/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [john](https://wordpress.org/support/users/johnweru/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/php-warning-on-1-7-4-using-wp-cli/#post-17066062)
 * Status: not resolved