I restored the database on the new server. Maybe the problem is still in a plugin and not the theme component.