Howdy!
On my blog, submitting blog posts *works* (the blog posts go live) but the tab in which I am editing and publishing them becomes, after a very long loading time doing nothing, ends up in a “500 internal server error” message.
Some context, maybe?
Yoast SEO 5.01, latest stable WordPress 4.8.
Apache’s error log, two post submitting attempts:
[Fri Jul 07 03:17:00 2017] [warn] [client 86.208.230.179] mod_fcgid: read data timeout in 91 seconds, referer: (mywebsite's URL)/wp-admin/post.php?post=86582&action=edit
[Fri Jul 07 03:17:00 2017] [error] [client 86.208.230.179] Premature end of script headers: post.php, referer: (mywebsite's URL)/wp-admin/post.php?post=86582&action=edit
[Fri Jul 07 03:18:51 2017] [warn] [client 86.208.230.179] mod_fcgid: read data timeout in 91 seconds, referer: (mywebsite's URL)/wp-admin/post-new.php?wp-post-new-reload=true
[Fri Jul 07 03:18:51 2017] [error] [client 86.208.230.179] Premature end of script headers: post.php, referer: (mywebsite's URL)/wp-admin/post-new.php?wp-post-new-reload=true
No slow query registered where the rest of them are registered in my server, so we didn’t have an abnormal slow query related to posting the posts.
Before that, after Yoast updated itself to 5.0, I had the same error as in https://wordpress.org/support/topic/problems-counting-links/
The engine took forever to index my ten years of posts (over 13k blog posts), and in the end, well, it seemed to believe it couldn’t create the tables even though the tables were created. I could confirm the link counting worked, it was displayed in the related columns in wordpress’s /wp-admin/edit.php list of posts. (It didn’t count links in the posts that were saved as scheduled before Yoast 5, side note.)
My php’s timeout delay is 90 seconds, it should have been enough to do whatever database ops were required, right?
And now, well, I can post blog posts, it works, but I end up with this 500 internal server error in the admin section. Not super friendly.
If you need more details, sure, it’s possible to send PMs in the WP forums? Or else, give me an email addy. Otherwise, good luck fixing it