Title: PHP Notice during wp-admin/users.php
Last modified: August 31, 2016

---

# PHP Notice during wp-admin/users.php

 *  [Mick Levin](https://wordpress.org/support/users/mick-levin/)
 * (@mick-levin)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php-notice-during-wp-adminusersphp/)
 * Hello,
 * I am testing this plugin on a DEV server with debug in WordPress turned on, and
   I just noticed a lot of PHP Notice errors appeared in the debug.log, once I opened
   a list of users (wp-admin/users.php):
 *     ```
       PHP Notice:  Trying to get property of non-object in /var/www/html/plugins/lightbox-plus/lightboxplus.php on line 198
       PHP Notice:  Trying to get property of non-object in /var/www/html/plugins/lightbox-plus/classes/actions.class.php on line 77
       PHP Notice:  Trying to get property of non-object in /var/www/html/plugins/lightbox-plus/classes/actions.class.php on line 138
       ```
   
 * It seems that the LightBox is being activated in the WP Admin interface (could
   that be disabled?), and it also is active during displaying the user list. It
   seems that every error is about the
 *     ```
       global $post;
       ```
   
 * being not really defined, and dumps the error every time the code is trying to
   use $post->ID.
 * Please look into that error, and into disabling lightboxes in the WP Admin.
 * Thank you!
 * [https://wordpress.org/plugins/lightbox-plus/](https://wordpress.org/plugins/lightbox-plus/)

Viewing 1 replies (of 1 total)

 *  [ngrudev](https://wordpress.org/support/users/ngrudev/)
 * (@ngrudev)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/php-notice-during-wp-adminusersphp/#post-8375808)
 * same errors

Viewing 1 replies (of 1 total)

The topic ‘PHP Notice during wp-admin/users.php’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/lightbox-plus_fafafa.svg)
 * [Lightbox Plus Colorbox](https://wordpress.org/plugins/lightbox-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/lightbox-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/lightbox-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/lightbox-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/lightbox-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/lightbox-plus/reviews/)

## Tags

 * [PHP Notice](https://wordpress.org/support/topic-tag/php-notice/)

 * 1 reply
 * 2 participants
 * Last reply from: [ngrudev](https://wordpress.org/support/users/ngrudev/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/php-notice-during-wp-adminusersphp/#post-8375808)
 * Status: not resolved