• Resolved roxer82

    (@roxer82)


    Hello,

    I am having a big problem. I can’t make new posts. When I try to do it, I get the error: Warning Creating default object from empty value in /wp-admin/includes/post.php on line 627

    How can I fix it?
    Thanks in advance!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter roxer82

    (@roxer82)

    My problem was solved making a database optimization.

    I have the same problem:
    object from empty value in /home2/…/public_html/wp-admin/includes/post.php on line 627
    As you gave solution ??, please explain in more detail

    Thread Starter roxer82

    (@roxer82)

    eloyedi, you have to do a database optimization. you can do it by PHPMyAdmin.

    Hi @roxer82,

    I have the same issue, I tried database optimization and deactivating all plugins but nth worked. Can you please tell me more about your solution?

    Thanks

    Thread Starter roxer82

    (@roxer82)

    Hi mkosumi,
    I just did a database optimization and it was solved. You can try to repair tables.

    I tried table repair but didnt work either. Thanks though!

    I just ran into the same issue. Optimized DB but did not fix the issue.

    My issue was due to a column that was renamed:

    guid was renamed to del-guid for testing purposes.

    Setting: define(‘WP_DEBUG’, true); in wp-config.php quickly showed the issue.

    I have just created a brand new site, and got the message “object from empty value in … /wp-admin/includes/post.php on line 632”

    I can’t create Tags, or set category or tags in a new post.

    It was a plugin (Admin renamer extended) that I added that conflicted.

    Changing WP_DEBUG’, from false to true, helped me to locate the fault.

    I had same issue.I have solved. wp_posts table’s ID(primary key) was not set auto increment. I have set this field auto increment . now it is working fine with me. please try this may be it will solve your issue.

    yes, thank you mwaqashameed. I had the same issue. wp_posts table’s ID(primary key) was not set auto increment.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Error when I try to make new posts’ is closed to new replies.