Hello @waseemsannib,
To start troubleshooting the issue you’re facing, please navigate to WP Admin >> Tools >> Site Health and check for any critical issues reported there. Let us know.
The issue changeset_post_save_failure is also commonly caused due to an issue with AUTO_INCREMENT setting in the post table too. Do you recall making any updates or changes in the Database manually? Ref: https://stackoverflow.com/questions/62974292/getting-wordpress-error-changeset-post-save-failure-on-customizer
However, it is a good idea to first narrow down if any issue is being highlighted in the Site Health that could point to the correct direction. In case you are working on the database it will be a good idea to make a full backup of your live site first and then test the fix. I would strongly recommend trying it on a staging/dev environment first before applying to the live site.
Kind Regards,
Saurabh
Thread Starter
marseem
(@waseemsannib)
Hi Saurabh,
I have this critical issue on my site health as shown in screenshot. I have checked the link that you provided and I don’t know if i need set AUTO_INCREMENT to 9999 and click Go to apply the change. let me know please.
The REST API is one way that WordPress and other applications communicate with the server. For example, the block editor screen relies on the REST API to display and save your posts and pages.
When testing the REST API, an error was encountered:
REST API Endpoint: https://marseem.com/wp-json/wp/v2/types/post?context=edit
REST API Response: (http_request_failed) cURL error 28: Operation timed out after 10003 milliseconds with 0 bytes received
https://ibb.co/0jSp9QHy
I’d recommend ruling out your custom CSS as the cause first. Just try pasting this into it:
* { background-color: red }
Can you save that? If so, I’d guess that the CSS you wrote either has a formatting issue, contains invalid characters (which would be odd), or is extremely long (which would also be odd).
Feel free to provide your complete CSS, e.g., via a code block or in Gists, if it works as described above.
As an alternative to pasting the CSS there, you can also place it in a style.css file in your child theme. You won’t have any trouble saving it there. However, you may need to create a child theme first: https://developer.wordpress.org/themes/advanced-topics/child-themes/
Thread Starter
marseem
(@waseemsannib)
I have fixed the customiser publishing by editing my database admin to AUTO_INCREMENT setting. and now it works but my plugin css hero is not saving too. I don’t know what is the cause of this. It was working normally. Any suggestion?
Changes to the database can always be problematic. However, I’m not sure which CSS you’re referring to. If it’s code in the Customizer that you want to save, it won’t be created as a new record – instead, an existing one will actually be updated it it exists. What exactly happens when you try to save the Customizer? Do you still get an error message, and if so, what does it say?
Thread Starter
marseem
(@waseemsannib)
The issue now from CSS Hero plugin. it doesn’t save at all. The save wiped after refresh, so no saving at all occurs
CSS Hero appears to be a commercial plugin. If you have any questions about it, I would recommend contacting their support team: https://www.csshero.org – unfortunately, we can’t help you with that here in the forum.
Thread Starter
marseem
(@waseemsannib)
Thank you. I will contact them.