diff --git a/ChangeLog b/ChangeLog
index 8adeb738a4..3ddb6b2bd9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -75,6 +75,7 @@ phpMyAdmin - ChangeLog
- issue Fix maxlength for User and Host on replication add user form
- issue #15282 Fixed MySQL 8.0 password syntax error when creating a replication user
- issue #15986 Fixed php fatal error "Uncaught TypeError: array_flip() expects parameter 1 to be array, null given"
+- issue Fixed php fatal error "Uncaught TypeError: htmlspecialchars() expects parameter 1 to be string, int given"
5.0.1 (2020-01-07)
- issue #15719 Fixed error 500 when browsing a table when $cfg['LimitChars'] used a string and not an int value
diff --git a/js/error_report.js b/js/error_report.js
index 71b2255519..be37a42d1b 100644
--- a/js/error_report.js
+++ b/js/error_report.js
@@ -130,7 +130,7 @@ var ErrorReport = {
var $buttons = $('