Title: Warning: Creating default object from empty value
Last modified: November 7, 2018

---

# Warning: Creating default object from empty value

 *  [uniqueproperties](https://wordpress.org/support/users/uniqueproperties/)
 * (@uniqueproperties)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/warning-creating-default-object-from-empty-value-45/)
 * Hello – I logged into my website this morning to add a new property to our real
   estate listings, and when I went to go into the new property post, I was met 
   with the error message Warning: Creating default object from empty value in /
   wp-admin/includes/post.php.
 * I am baffled as to what could have caused this, as I just added another property
   a couple of days ago and there was no issue.
 * In addition to the error message, my publish button has been replaced with a “
   submit for review.” button.
 * I’ve tried;
    – Deactivating all plugins – Deleting all plugins – Installing Health
   Check (though it’s almost like it won’t show me new changes to the site, including
   new plugins added) – I even pulled the post.php file to see if I could see something
   obviously wrong with the line in question… though I’m not a programmer at all
   so it was fairly Greek to me. lines 642 – 652 are included below though:
 * $post->post_content = apply_filters( ‘default_content’, $post_content, $post );
 *  /**
    * Filters the default post title initially used in the “Write Post” form.**
   [@since](https://wordpress.org/support/users/since/) 1.5.0 * * [@param](https://wordpress.org/support/users/param/)
   string $post_title Default post title. * [@param](https://wordpress.org/support/users/param/)
   WP_Post $post Post object. */ $post->post_title = apply_filters( ‘default_title’,
   $post_title, $post );
 * None of the above things have worked at all and I’m starting to panic a little
   bit. Has anyone experienced a resolution on this? I’ve found a few threads on
   various websites, but it didn’t sound like they got resolved.
 * THANK YOU for any help you can provide!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwarning-creating-default-object-from-empty-value-45%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/warning-creating-default-object-from-empty-value-45/#post-10857867)
 * With all plugins disabled, also try switching to one of the default (Twenty*)
   themes.
 * If you can install plugins, install “Health Check”: [https://wordpress.org/plugins/health-check/](https://wordpress.org/plugins/health-check/)
   On the troubleshooting tab, you can click the button to disable all plugins and
   change the theme for you, while you’re still logged in, **without affecting normal
   visitors to your site**.
 *  [Steve](https://wordpress.org/support/users/widescopewebdesign/)
 * (@widescopewebdesign)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/warning-creating-default-object-from-empty-value-45/#post-10857916)
 * [@t-p](https://wordpress.org/support/users/t-p/) is right, I’ve found health 
   check and the Twenty themes invaluable with this kind of problem. Twenty fifteen
   in particular seems to be the least problematic. Not sure if it is my connection
   though but at the moment I’m getting an error on your link – [https://uniquepropertiesok.com/tulsarealestate](https://uniquepropertiesok.com/tulsarealestate).
   
   What plugin are you using for your real estate listings or is it bespoke?
 *  Thread Starter [uniqueproperties](https://wordpress.org/support/users/uniqueproperties/)
 * (@uniqueproperties)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/warning-creating-default-object-from-empty-value-45/#post-10857936)
 * Okay so my question is – I’m using a Real Estate centric theme and a TON of work
   has gone into getting all of the properties set up, optimized, etc. If I switch
   to twenty — would that not wipe all of it?
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/warning-creating-default-object-from-empty-value-45/#post-10857954)
 * “Health Check”: [https://wordpress.org/plugins/health-check/](https://wordpress.org/plugins/health-check/):
   On the troubleshooting tab, you can click the button to disable all plugins and
   change the theme for you, while you’re still logged in, **without affecting normal
   visitors to your site.**
 *  [Steve](https://wordpress.org/support/users/widescopewebdesign/)
 * (@widescopewebdesign)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/warning-creating-default-object-from-empty-value-45/#post-10857995)
 * If you follow [@t-p](https://wordpress.org/support/users/t-p/) instructions, 
   you can make find out what’s failed without an issue. I’d still back it all up
   though if I were you just to be on the safe side.
    I can see the site now, looks
   good.
 *  Thread Starter [uniqueproperties](https://wordpress.org/support/users/uniqueproperties/)
 * (@uniqueproperties)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/warning-creating-default-object-from-empty-value-45/#post-10858130)
 * Okay – I’ve downloaded Health Check, but now when I go to activate it, it processes
   like it’s activating, but then when it gives me a “plugin activated” alert at
   the top of the page and I scroll down – it still says that it isn’t activated:/
   is there a way to activate it via my FTP by chance?
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/warning-creating-default-object-from-empty-value-45/#post-10858317)
 * – Have you recently enabled [Debugging](https://codex.wordpress.org/Debugging_in_WordPress)?
   If so, try disabling it.
    – What Php version are you using?Have you recently 
   updated PHP? – Are you using any realtor plugin? If so, what realtor plugin are
   you using?
 *  Thread Starter [uniqueproperties](https://wordpress.org/support/users/uniqueproperties/)
 * (@uniqueproperties)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/warning-creating-default-object-from-empty-value-45/#post-10858372)
 * Sorry, I don’t even know how to enable/disable debugging :/. I’m more of a front
   end guy when it comes to WordPress lol.
 * – I’m running WordPress version 4.9.8. PHP version wise, I haven’t updated anything
   recently unless my host did something automatically. Where would I go to see 
   my PHP version?
    – And yes, I use an IDX (real estate search) plugin which sources
   in MLS listing to our site. I’ve never had an issue with it in the past, and 
   when I disabled it earlier today it didn’t seem to fix the issue :/.
 * Thank you guys so much for your help!
 *  Thread Starter [uniqueproperties](https://wordpress.org/support/users/uniqueproperties/)
 * (@uniqueproperties)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/warning-creating-default-object-from-empty-value-45/#post-10864530)
 * Hey guys – just wanted to reactivate this thread. Thank you!

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

The topic ‘Warning: Creating default object from empty value’ is closed to new replies.

## Tags

 * [default object](https://wordpress.org/support/topic-tag/default-object/)
 * [empty value](https://wordpress.org/support/topic-tag/empty-value/)
 * [post](https://wordpress.org/support/topic-tag/post/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 3 participants
 * Last reply from: [uniqueproperties](https://wordpress.org/support/users/uniqueproperties/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/warning-creating-default-object-from-empty-value-45/#post-10864530)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
