When using Yoast V9.5 on a site where the Divi theme (V3.19.8) and when editing a page and tries to save it, Yoast is creating error 500 problems which in the Divi theme results in the below error message:
“An error has occurred while saving your page. Various problems can cause a save to fail, such as a lack of server resources, firewall blockages, plugin conflicts or server misconfiguration. You can try saving again by clicking Try Again, or you can download a backup of your unsaved page by clicking Download Backup. Backups can be restored using the portability system while next editing your page.
Contacting your host and asking them to increase the following PHP variables may help: memory_limit, max_execution_time, upload_max_filesize, post_max_size, max_input_time, max_input_vars. In addition, auditing your firewall error log (such as ModSecurity) may reveal false positives that are preventing saves from completing.
Lastly, it is recommended that you temporarily disable all WordPress plugins and browser extensions and try to save again to determine if something is causing a conflict.”
The error is confirmed by disabling, then enabling, then disabling Yoast again.
There were no config errors on the server, as suggested in the Divi error message.
Steps to reproduce:
1) Activate Yoast 9.5
2) Using the Visual Builder n Divi, choose an existing page (I didn’t try with creating a new from scratch)
3) Make some changes, just texts or bigger edits.
4) Save the file
5) The error message will appear
Config details:
* Linux [removed] 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux
* mysqld Ver 10.1.37-MariaDB-0+deb9u1 for debian-linux-gnu on x86_64 (Debian 9.6)
* PHP 7.1.26-1+0~20190113101810.12+stretch~1.gbp7077bb @64BitOS
* Panel ISPconfig 3.1.13
* Apache/2.4.25 (Debian)
* WordPress 5.0.3
* Divi theme 3.19.8
* Yoast 9.5