Recently, a WordPress hosting customer reported that after upgrading his WordPress website to WordPress version 5.2, he could no longer publish articles.
When you publish an article, a message will appear: Publish failed.
After checking the host and confirming that there are no security holes in the host and that there are no problems with the host user and user group permissions, and that the host disk is not full, I also checked the user's error log and did not read it. What a way out.
It may be that the program upgrade is incomplete, so the latest version of WordPress 5.2.1 is used to completely cover it, but problems still occur, and the customer itself does not use plug-ins with complex functions. They are all commonly used plug-ins that are compatible with the latest version of the WordPress program. .
Thinking that the Gutenberg editor seems to have been unstable recently, I installed the WordPress classic editor where the plug-in is installed. Then the problem is solved.
Recently, a series of questions have arisen regarding WordPress Gutenberg editing. Although it is related to the fact that Gutenberg editor has integrated more and more features, the inconsistency in the hosting environment used by each user to run the latest version of WordPress is the main factor leading to various problems regarding the instability of Gutenberg editor.
Although WordPress officially recommends that you use PHP 7.3 and MariaDB 10.0, there should not be that many host environments that truly meet this requirement. WordPress officials seem to be aware of this problem and will no longer support PHP 5.6. Versions, that is, the host environments in which WordPress programs are run, vary widely, causing various problems.
WordPress classic editor will be officially supported by WordPress until 2021, and there should be other changes by then. In addition, since WordPress already has a health check function, this function should be enriched, such as checking whether the host environment can use the Gutenberg editor.
For more wordpress related technical articles, please visit the wordpress tutorial column to learn!
The above is the detailed content of Why can't WordPress articles be published?. For more information, please follow other related articles on the PHP Chinese website!