diff --git a/libraries/Error.class.php b/libraries/Error.class.php index 31d6e1225..1b8b88814 100644 --- a/libraries/Error.class.php +++ b/libraries/Error.class.php @@ -336,8 +336,10 @@ class PMA_Error extends PMA_Message if (in_array($function, $include_functions)) { echo PMA_Error::relPath($arg); - } else { + } elseif (is_scalar($arg)) { echo gettype($arg) . ' ' . $arg; + } else { + echo gettype($arg); } }