Title: Creating default object from empty value
Last modified: September 1, 2018

---

# Creating default object from empty value

 *  Resolved [Chris Moody](https://wordpress.org/support/users/designplaybox/)
 * (@designplaybox)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-15/)
 * Recently a WordPress site I maintain has started showing the following error 
   when you try to create a new blog post:
 * Warning: Creating default object from empty value in /data/20/1/129/125/1944777/
   user/2122130/htdocs/mtsmove/wp-admin/includes/post.php on line 642
 * As suggested in another post about this issue, I installed the Healthcheck plugin,
   and it found no issues, besides the fact we are only running PHP 7.02 (which 
   is the highest version available).
 * Even disabling all plugins and switching to one of the default themes did not
   fix the issue.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcreating-default-object-from-empty-value-15%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Pioneer Web Design](https://wordpress.org/support/users/swansonphotos/)
 * (@swansonphotos)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-15/#post-10647438)
 * PLease review what a warning is and what a fault is at:
 * [http://php.net/manual/en/function.error-reporting.php](http://php.net/manual/en/function.error-reporting.php)
 * Discuss with your host.
 *  Thread Starter [Chris Moody](https://wordpress.org/support/users/designplaybox/)
 * (@designplaybox)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-15/#post-10647474)
 * Granted the title is incorrect, however, it does not change the fact that I’m
   seeing the same error as others have reported, I’m beginning to think its an 
   issue with PHP 7.0.2 which is the best they allow.
 * This error also prevents from submitting a new blog posting. as there is no box
   to submit it in.
 *  Thread Starter [Chris Moody](https://wordpress.org/support/users/designplaybox/)
 * (@designplaybox)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-15/#post-10647493)
 * [https://gyazo.com/7c1bf29fe10957aff1929e5cbef0cb75](https://gyazo.com/7c1bf29fe10957aff1929e5cbef0cb75)
   this is what the add new post screen currently looks like.
 *  Thread Starter [Chris Moody](https://wordpress.org/support/users/designplaybox/)
 * (@designplaybox)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-15/#post-10647562)
 * Turns out my issue at least appears to have been a corrupted *_post table. fixing
   this fixed the issue.
 *  [tyrex07](https://wordpress.org/support/users/tyrex07/)
 * (@tyrex07)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-15/#post-10985553)
 * How you fixed your table ?
    I have tried REPAIR option by WP, REPAIR TABLE on
   phpMyAdmin and several plugins to correct and optimize table.
 * But nothing change 🙁
    -  This reply was modified 7 years, 6 months ago by [tyrex07](https://wordpress.org/support/users/tyrex07/).

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

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

## Tags

 * [new-post](https://wordpress.org/support/topic-tag/new-post/)

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

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
