Title: PHP Current User Warning?
Last modified: January 21, 2024

---

# PHP Current User Warning?

 *  Resolved [dailce](https://wordpress.org/support/users/dailce/)
 * (@dailce)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/php-current-user-warning/)
 * We are using another plugin that gives a warning when this plugin gets activated.
   Happens because the plugin is using global $current_user……
 * Warning: Attempt to read property “ID” on null in…..
 * Example the other plugin calls: $is_expired = ihc_is_user_level_expired($current_user-
   >ID, $current_user_level);
 * Is this an issue with how this plugin handles users? Using PHP 8.1+

Viewing 1 replies (of 1 total)

 *  Plugin Author [Kev Provance](https://wordpress.org/support/users/kprovance/)
 * (@kprovance)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/php-current-user-warning/#post-17360727)
 * You’d have to ask the author of that plugin. We only support ours, and it’s PHP
   8.1 compatible.
 * Good luck.

Viewing 1 replies (of 1 total)

The topic ‘PHP Current User Warning?’ is closed to new replies.

 * ![](https://ps.w.org/redux-framework/assets/icon.svg?rev=2889347)
 * [Redux Framework](https://wordpress.org/plugins/redux-framework/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/redux-framework/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/redux-framework/)
 * [Active Topics](https://wordpress.org/support/plugin/redux-framework/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redux-framework/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redux-framework/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Kev Provance](https://wordpress.org/support/users/kprovance/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/php-current-user-warning/#post-17360727)
 * Status: resolved