Thanks for the quick response.
I did the following:
Added in wp-config.php
define('WP_DEBUG', true);
define('SCRIPT_DEBUG', true);
define('WP_DEBUG_LOG', true);
ini_set('display_errors','Off');
(my version did not have define('WP_DEBUG', false);
)
Installed and activated Polylang, added German, English – Bad Gateway
There was no debug.log or wp-content/debug.log
Some background, maybe any of this helps you spot the root cause of this:
I am using WP Engine for hosting.
They provided my with WP 3.8 (so not: 3.8.1 as in the case above), and I used the previous versions of the mentioned plug-ins.
Everything worked fine (although there the Day-Of-Week in the date of posts was only displayed in English, never in German).
I added a post with two diagrams, and added translations for each of the diagrams.
After that I cannot exactly recall the sequence, but what happened was:
I upgraded WP and all plugins to the most current version (WP 3.8.1., Polylang 1.4 etc).
I noticed that for one of the original diagrams (i.e. default language), the image itself was missing, although all the metadata seemed ok.
So I uploaded the diagram again, and tried to trash the broken medium.
If I remember correctly, this is when I got the first Bad Gateway. However I am not sure if the first Bad Gateway happened immediately after upgrading the plugins, or after trying the fix the broken image.
I restored a backup and tried to work around this, without success. Now every change to the posts that had the diagram embedded caused a Bad Gateway, and there was no clean way of fixing it.
I worked through a couple of the available backups, all ultimately led to the same issue.
So I asked WP Engine to provide me with a fresh install, so I could start from scratch.
They did it, and what I got looked like a fresh install to me. All my content gone, instead I got the “Hello” content from WP etc.
However, this time I got WP 3.8.1., only Polylang 1.4 was available for install etc. The experience with it was what I called “Bad Gateway with Polylang 1.4 on fresh install” above.
Happy to try a “a new install from scratch”, but not sure how to get anything different from the last time I asked for it.
Any suggestions?