Title: error messages in debug mode
Last modified: August 30, 2016

---

# error messages in debug mode

 *  [E Bourrez](https://wordpress.org/support/users/e-bourrez/)
 * (@e-bourrez)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/error-messages-in-debug-mode/)
 * Hello
 * First, I want to thank the developpers of this plugin
 * Anyway, I have 2 error messages in debug mode, located in the UamUserGroup.class.
   php file.
 * The plugin works correctly, but as the messages are repeated many many times 
   in debug mode, it’s quite difficult to detect a real error message when i test
   the new version of wordpress.
 * would it be possible to correct these errors in a future version ? The solutions
   listed below should work…
 * Many thanks
 * E Bourrez
 * 1) in line 570 : undefined index
    if ($this->_aAssignedObjects[$sObjectType] !
   == null) { The warning is caused by checking the value of an array item without
   first checking that the key exists. it should first be checked with : “if (isset(
   $this->_aAssignedObjects[$sObjectType])…”
 * 2) in line 1070 trying to get property of non-object
    $oParent->post_type, should
   be replaced by : isset( $oParent->post_type ) ? $oParent->post_type : ”;
 * [https://wordpress.org/plugins/user-access-manager/](https://wordpress.org/plugins/user-access-manager/)

The topic ‘error messages in debug mode’ is closed to new replies.

 * ![](https://ps.w.org/user-access-manager/assets/icon.svg?rev=1563783)
 * [User Access Manager](https://wordpress.org/plugins/user-access-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-access-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-access-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/user-access-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-access-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-access-manager/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [E Bourrez](https://wordpress.org/support/users/e-bourrez/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/error-messages-in-debug-mode/)
 * Status: not resolved