Title: Creating default object from empty value
Last modified: December 13, 2018

---

# Creating default object from empty value

 *  [tyrex07](https://wordpress.org/support/users/tyrex07/)
 * (@tyrex07)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-16/)
 * Hi
    (sorry for my english)…
 * I have this problem : i can’t create article or page (post-new.php).
    I have 
   this message : “You are editing the page that displays your latest articles.”
   And i have no builder page.
 * In my log file, i read this :
 *     ```
       PHP Warning:  Creating default object from empty value in /home/****MYWEBSITE*****/httpdocs/wp-admin/includes/post.php on line 642
       [13-Dec-2018 10:36:52 UTC] 
       ```
   
 * And the line 642 :
 * `$post->post_content = apply_filters( 'default_content', $post_content, $post)`
 * I changed the theme (Jupiter) by Twenty Fifteen, and desactivated then delete
   all plugins. The problem still there.
 * My backup SQL files have the same problem…
 * Any idea ?
    Thanks a lot !
 * Wordpress : 4.9.8
    Jupiter : 6.1.5 PHP : 7.2.4
    -  This topic was modified 7 years, 5 months ago by [tyrex07](https://wordpress.org/support/users/tyrex07/).

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

 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [7 years, 5 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-16/#post-10984998)
 * This person had a similar problem, and his turned out to be a corrupted table
   in the database:
 * [https://wordpress.org/support/topic/creating-default-object-from-empty-value-15/](https://wordpress.org/support/topic/creating-default-object-from-empty-value-15/)
 * So, load up phpMyAdmin, and use it to do a REPAIR on your posts table.
 *  Thread Starter [tyrex07](https://wordpress.org/support/users/tyrex07/)
 * (@tyrex07)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-16/#post-10987639)
 * Hi !
    Thanks 😉 I tried REPAIR on phpMyAdmin, REPAIR & OPTIMIZE by WordPress 
   and several plugins, but nothing has changed 🙁

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

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

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

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
