Title: Debug error using WP Multisite
Last modified: August 21, 2016

---

# Debug error using WP Multisite

 *  Resolved [srumery](https://wordpress.org/support/users/srumery/)
 * (@srumery)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/debug-error-using-wp-multisite/)
 * I’m using the newest version 1.15 and I am seeing this error at the top of the
   WordPress admin dashboard when debug mode is turned on. It doesn’t seem to appear
   on a single site install, but I am seeing it on my local multisite development
   environment.
 * > SCREAM: Error suppression ignored for ( ! ) Notice: Trying to get property 
   > of non-object in C:\wamp\www\localdevelopment\wp-content\plugins\simple-staff-
   > list\_inc\admin-utilities.php on line 81 Call Stack #TimeMemoryFunctionLocation
   > 10.0016753680{main}( )..\index.php:0 20.597558423600include( ‘C:\wamp\www\localdevelopment\
   > wp-admin\admin-header.php’ )..\index.php:102 30.607358457272apply_filters( )..\
   > admin-header.php:95 40.607358458600call_user_func_array ( )..\plugin.php:173
   > 50.607358458632add_to_admin_body_class( )..\plugin.php:173 index-php auto-fold
   > admin-bar branch-3-6 version-3-6-1 admin-color-fresh locale-en-us no-customize-
   > support”>
 * The issue that creates the error isn’t causing any trouble and I’m sure this 
   can be easily cleared up. If you need me to change any code and test, I will.
   Just let me know. I’m more than happy to help.
 * [http://wordpress.org/plugins/simple-staff-list/](http://wordpress.org/plugins/simple-staff-list/)

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

 *  Plugin Author [Brett Shumaker](https://wordpress.org/support/users/brettshumaker/)
 * (@brettshumaker)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/debug-error-using-wp-multisite/#post-4173498)
 * Replace line 81 in _inc\admin-utilities.php with:
 *     ```
       if ($post) {
       	$post_type = get_post_type($post->ID);
       } else {
       	$post_type = "";
       }
       ```
   
 * This will be added into the next version of the plugin.
 *  Thread Starter [srumery](https://wordpress.org/support/users/srumery/)
 * (@srumery)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/debug-error-using-wp-multisite/#post-4173499)
 * Brilliant! That did the trick. Thank you for fixing the error.

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

The topic ‘Debug error using WP Multisite’ is closed to new replies.

 * ![](https://ps.w.org/simple-staff-list/assets/icon-256x256.png?rev=2718196)
 * [Simple Staff List](https://wordpress.org/plugins/simple-staff-list/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-staff-list/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-staff-list/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-staff-list/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-staff-list/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-staff-list/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [srumery](https://wordpress.org/support/users/srumery/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/debug-error-using-wp-multisite/#post-4173499)
 * Status: resolved