I cannot customize custom widgets anymore after moving WordPress website

I just understood what happened: The custom widgets were using short tags (<?) to split up the HTML output, which directive (short_open_tag) is disabled by default in the production environment.

Problems like this are a pain to spot and I can do nothing but laughing thinking what we tried to understand the issue.