diff --git a/include/errors/class_SimplePluginError.inc b/include/errors/class_SimplePluginError.inc
index 22b2f2cecf993b89cc459c29f19cb0b4f9ec7b8a..38825899f3100bd723e82188a80a70267763b6d5 100644
--- a/include/errors/class_SimplePluginError.inc
+++ b/include/errors/class_SimplePluginError.inc
@@ -104,24 +104,30 @@ class SimplePluginError extends FusionDirectoryError
   {
     $html = '';
 
+    $breadcrumbs = [];
+
     if (isset($this->object)) {
-      $html .= htmlescape($this->object->getBaseObject()->dn.' > ');
+      $breadcrumbs[] = htmlescape($this->object->getBaseObject()->dn);
     }
 
     if (isset($this->tab) && isset($this->tab->parent->by_name[get_class($this->tab)])) {
-      $html .= htmlescape($this->tab->parent->by_name[get_class($this->tab)].' > ');
+      $breadcrumbs[] = htmlescape($this->tab->parent->by_name[get_class($this->tab)]);
     }
 
     if (isset($this->attribute)) {
       $label = $this->attribute->getLabel();
       if (empty($label)) {
-        $html .= '<i>'.htmlescape($this->attribute->getLdapName()).'</i>';
+        $breadcrumbs[] = '<i>'.htmlescape($this->attribute->getLdapName()).'</i>';
       } else {
-        $html .= htmlescape($label);
+        $breadcrumbs[] = htmlescape($label);
       }
       $example = $this->attribute->getExample();
     }
 
+    if (!empty($breadcrumbs)) {
+      $html .= implode(htmlescape(' > '), $breadcrumbs);
+    }
+
     $html .= '<br/><br/>';
 
     $html .= $this->htmlMessage;