Title: Customizer Errors
Last modified: May 21, 2020

---

# Customizer Errors

 *  Resolved [Dennis Kelly](https://wordpress.org/support/users/chicagomusicguide/)
 * (@chicagomusicguide)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/customizer-errors/)
 * Good day,
 * When loading the customizer in WordPress, I saw the following errors:
 * Notice: Trying to get property ‘post_status’ of non-object in /var/www/wp-admin/
   includes/template.php on line 2121
 * Notice: Trying to get property ‘post_status’ of non-object in /var/www/wp-admin/
   includes/template.php on line 2125
 * Notice: Trying to get property ‘post_status’ of non-object in /var/www/wp-admin/
   includes/template.php on line 2131
 * Notice: Trying to get property ‘post_status’ of non-object in /var/www/wp-admin/
   includes/template.php on line 2135
 * Notice: Trying to get property ‘ID’ of non-object in /var/www/wp-admin/includes/
   template.php on line 2139
 * Notice: Trying to get property ‘post_status’ of non-object in /var/www/wp-admin/
   includes/template.php on line 2143
 * Notice: Trying to get property ‘ID’ of non-object in /var/www/wp-admin/includes/
   template.php on line 2148
 * Notice: Trying to get property ‘ID’ of non-object in /var/www/wp-admin/includes/
   template.php on line 2152
 * Notice: Trying to get property ‘ID’ of non-object in /var/www/wp-admin/includes/
   template.php on line 2157
 * I went through and deactivated the most recently added plugins and after deactivating
   Hummingbird, the errors disappeared. Reactivating brought the errors back. Can
   you let me know how to fix or can you fix?
 * Thank you very much!
 * Dennis

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

 *  Plugin Support [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * (@wpmudev-support9)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/customizer-errors/#post-12869876)
 * Hello [@chicagomusicguide](https://wordpress.org/support/users/chicagomusicguide/)
 * I hope you’re doing well!
 * I could not replicate these notices on my end. Notice is not an error it is just
   a note to the developers and not affecting the site’s/plugins’ functions.
 * Do you see these notices when only the Hummingbird plugin is enabled? If not,
   start enabling (after deactivating all plugins) one plugin at a time, till these
   notices will be back again.
 * Make sure to have a full site backup before deactivating all plugin.
 * Please let us know what is the PHP version on your site?
 * Have a good day!
 * Kind regards,
    Nastia
 *  Thread Starter [Dennis Kelly](https://wordpress.org/support/users/chicagomusicguide/)
 * (@chicagomusicguide)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/customizer-errors/#post-12870362)
 * Thank you very much Nastia for your quick response.
 * Yes, these notices only appear when the Hummingbird plugin is enabled. PHP version
   is 7.0.
 * Thanks!
    Dennis
 *  Plugin Support [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * (@wpmudev-support8)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/customizer-errors/#post-12880557)
 * Hi [@chicagomusicguide](https://wordpress.org/support/users/chicagomusicguide/)
 * Thanks for response!
 * The code reported by these notices (in WP core) is related to the function that
   checks post status – if a post of given ID is e.g. published, draft and so on.
 * The notice is a result of the function trying to check status of a non-existing
   post, basically. I understand that my colleague Nastia wasn’t even able to replicate
   that as can’t I myself but the fact whether such notices show up or not is also
   related to PHP error reporting configuration and might be also related to PHP
   version (7.0 isn’t particularly “smart” if it comes to that- for some reason 
   it was a bit of a ‘fail” as while it brought quite a lot of great improvements,
   speed and stability, any further version is better than 7.0).
 * Hummingbird is using hidden custom posts for its own purposes and it is doing
   quite a lot of “operations” on them. One of the common reasons for such notices
   could be e.g. if there is/was Asset Optimization enabled in Hummingbird and was
   e.g. re-configured a few time. If there’s additionally some sort of cache (other
   than Page Cache in Hummingbird), especially any server-side cache (e.g. Varnish,
   object cache and so on) that might cause site to “try” to check those non-existing
   posts.
 * I think it would be worth trying
 * – to clear up all the possible caches that you can find, especially object cache
   on server if it’s there and is possible to flush it
 * – if there is Asset Optimization enabled – re-check it (and make adjustments 
   if necessary afterwards); clear caches after that again
 * – if Asset Optimization is not enabled but it was – re-enable it, recheck files,
   try disabling again and clearing caches
 * – and also if possible update PHP to any higher version than 7.0
 * Best regards,
    Adam
 *  Plugin Support [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * (@wpmudev-support9)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/customizer-errors/#post-12918841)
 * Hello there [@chicagomusicguide](https://wordpress.org/support/users/chicagomusicguide/)
 * I hope you are doing well!
 * We haven’t heard back from you for a while now so we’ve marked this ticket as
   resolved. If you do have any followup questions or require further assistance
   feel free to reopen it and let us know here.
 * Kind regards,
    Nastia

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

The topic ‘Customizer Errors’ is closed to new replies.

 * ![](https://ps.w.org/hummingbird-performance/assets/icon-256x256.gif?rev=2633221)
 * [Hummingbird Performance - Cache & Page Speed Optimization for Core Web Vitals | Critical CSS | Minify CSS | Defer CSS Javascript | CDN](https://wordpress.org/plugins/hummingbird-performance/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hummingbird-performance/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hummingbird-performance/)
 * [Active Topics](https://wordpress.org/support/plugin/hummingbird-performance/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hummingbird-performance/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hummingbird-performance/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/customizer-errors/#post-12918841)
 * Status: resolved