Issue #2761829 by DamienMcKenna, jeroen.b: Getting drupal_trigger_error_with_delayed_logging errors on Drupal 7.x dev (7.50)