Title: can&#8217;t create posts
Last modified: December 23, 2018

---

# can’t create posts

 *  Resolved [bvo](https://wordpress.org/support/users/bvo/)
 * (@bvo)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/cant-create-posts/)
 * Hi all,
 * On WP 5.0.2 and twenty nineteen
 * I can’t create a new post. I read [this ](https://wordpress.org/support/topic/impossible-to-create-or-edit-posts/)
   post bij jpgjpg and reinstalled WP and deactivated all plugins, but no result.
   
   When I save a new post the title disappears and says something like “saved automatically”
   and when I preview the post I get a 404. When I look in phpmyadmin, I do see 
   a new draft, so something did happen.
 * I’m wondering if something is realy messed up because I also can’t upload pics(
   [this topic](https://wordpress.org/support/topic/image-upload-failure-4/)).
 * Hope someone can help me here
    Kind regards, Bas

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

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/cant-create-posts/#post-11030761)
 * Be sure the REST API is working correctly. A browser request like _example.com/
   wp-json/wp/v2/posts_ should return a long list of JSON formatted post data. The
   API is used more and more by default WP and its failure can result in bizarre
   behavior.
 * Server security modules like mod_security can also cause strange behavior. If
   any such module is running, you’ll need assistance from your host to resolve 
   the problem.
 *  Thread Starter [bvo](https://wordpress.org/support/users/bvo/)
 * (@bvo)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/cant-create-posts/#post-11035071)
 * Thanks Bcworkz,
    Json seems to work correctly, since I do get a long long list
   of all my posts. About the other part, the funny thing is, it worked before. 
   Actually it worked untill the wp5 update. I didnt change anyrhing else then updated
   to wp5. No changes in serverconfiguration, in plugins, in htaccess or whatever.
   I do run my own (synology) server. Hope someone has some other ideas?!
 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/cant-create-posts/#post-11036053)
 * Be sure all of your folder and file permissions are correct. Do you have a somewhat
   recent version of PHP and DB server? [https://wordpress.org/about/requirements/](https://wordpress.org/about/requirements/)
 * Try the [health-check](https://wordpress.org/plugins/health-check/) plugin. It’ll
   flag a number of potential problems when found. You’ve already manually done 
   what the troubleshooting mode does, but the status tab might flag a potential
   problem.
 *  Thread Starter [bvo](https://wordpress.org/support/users/bvo/)
 * (@bvo)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/cant-create-posts/#post-11052385)
 * Hi Bcworkz,
    I checked the folder permissions, maybe this was not correct for
   the child theme I made for 2019, but correcting it, doesn’t solve my problem 
   🙁
 * I use a synology server (6.2), wich had PHP 5.6 and 7.0 installed. I told the
   server to use 7, but the health check says I use 5.6?! The synology has DB5.5
   and DB10. My server runs on DB5.5; I didn’t succeed in transferring it to DB10.
 * The health plugin reports, other than PHP en DB: “The REST API request failed
   due to an error” and ” The loopback request to your site failed, this may prevent
   WP_Cron from working, along with theme and plugin editors”
 * Any suggestions how to move forward?
    BTW, everything worked perfectly before
   the WP5 update!
 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/cant-create-posts/#post-11052839)
 * The new block editor requires the REST API in order to work. Previous versions
   of WP tolerated it not working. A lot of people have previously disabled the 
   API out of misguided security concerns. This is done through a bit of code added
   to a plugin or theme. It could also be disabled external to WP through a .htaccess
   rule or a rule in modSecurity.
 * Maybe you should try the health check troubleshooting mode anyway. If you can
   save posts in this mode, there is some disabling code hidden somewhere in your
   theme or plugins. Selectively reactivate (through admin bar troubleshooting item)
   to find out which. If saving still does not work, the disabling code is external
   to WP.
 * Failed loopbacks indicates an improper server configuration that could hinder
   updates from working correctly. Start finding a fix by confirming the user PHP
   runs as has read/write permission for all files and folders.
 *  Thread Starter [bvo](https://wordpress.org/support/users/bvo/)
 * (@bvo)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/cant-create-posts/#post-11053005)
 * Thanks again,
    I troubleshooted with the health plugin: with all plugins disabled
   and default theme, the loopback error and the api error are gone. Seems that 
   my captcha pluing causes this problems.
 * So all pluging’s reactivated, but not the captcha, it passes the health test,
   of course except the php en DB warnings.
 * However, a I still can’t create a post of insert a (block) album. I got the same
   outcome.
 * By the way, I do see an error message in/behind/over the editing screen that 
   says “notice undefined index path in …/l10n.php on line 919”. I don’t know if
   this has anything to do with my current problem, but it started after updating
   to WP5 just like the post creation problems.
 * So all tests are good, but the outcome isn’t? What’s next? I checked the server,
   there is no user php. Synology uses a user called http (and a group http). I 
   think that’s like your user php?
 * I’m thinking if I can’t find the problem, maybe I should export the whole site,
   deleting the database, uninstall WP, and start al over, on DB10 and (hopefully)
   PHP7, and WP5 from the beginning. And then import back the post, comments etc.
   Will that work and does it help?
 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/cant-create-posts/#post-11055656)
 * Heh, not the user named “PHP”, the user name that PHP runs under 🙂 User “http”
   is a possibility and not unusual. The user to check permissions of is really 
   the one the web server runs as. The web server in turn runs the PHP interpreter.
   There ought to be a server configuration file somewhere where the user name is
   specified.
 * It’s sounding like there are multiple issues that need to be resolved. The undefined
   index error is due to some registered script loading translation text domains
   incorrectly. Getting the results of debug_backtrace() when the error occurs is
   needed to find out the source of the error. Or by trial and error through selective
   activation like how you found the Captcha plugin issue.
 * I think a re-installation without changing anything will end with the same results.
   I suppose its worth a try if there seems to be no other place to look for issues.
   I would first try simply replacing all current WP core files with those from 
   a fresh download. It’s not unheard of for updates to corrupt a file somewhere.
   Be sure you have the latest versions of all plugins and your theme. There were
   a large number of plugins that required updating to maintain compatibility with
   WP 5.0.x
 * It would be telling to clone your WP installation into a more common web server
   like Apache. A localhost installation would be good enough. If it works there,
   there is something amiss with the Synology server. Something like XAMPP from 
   Apache Friends typically isn’t too involved to get running on your local computer.
   Use the operating system’s hosts file to resolve whatever domain name your site
   uses.
 *  Thread Starter [bvo](https://wordpress.org/support/users/bvo/)
 * (@bvo)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/cant-create-posts/#post-11067651)
 * I tried a lot of things, but nothing helped. So I made a backup, uninstalled 
   WP en deleted the database. Then I created a new database (DB10 this time) en
   manually installed WP.
    The health plugins says everything is cool now. I imported
   my old posts (via WP-import, not with phpmyadmin). However, creating/saving posts
   still didn’t work. I uninstalled all pluging and re-installed them one by one
   and now everyting works fine?! So I guess things were messed up in the WP5 update
   somehow and a fresh install (on SB10 and PHP7) solved this. Thanks bcworkz for
   all your replies!
 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/cant-create-posts/#post-11070083)
 * Phew! Glad you worked that one out. Proof that perseverance pays off.
    You’re
   most welcome.

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

The topic ‘can’t create posts’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 2 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/cant-create-posts/#post-11070083)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
