-
- 6 Posts
Hi,
I keep getting this warning in my logs.
/core/components/login/controllers/web/Login.php : 100) PHP warning: htmlspecialchars() expects parameter 1 to be string, array given
When I look at the login.php file, this is what I can see
98 /* Escape placeholder values */
99 foreach ($phs as $k => $v) {
100 $phs[$k] = htmlspecialchars(str_replace(array('[',']'),array('[',']'),$v));
101 }
I am running MODX Revolution 2.5.8-pl, and the login package 1.9.4-pl2
Any ideas?
Thanks
Steve Reid
-
- 2,877 Posts
Reminder to investigate further:
I saw this error message for login\controllers\web\ForgotPassword.php : 78
And I'm using Login 1.9.5
I would think this will fix it
https://github.com/modxcms/Login/issues/114#issuecomment-369269054
https://github.com/Jako/Login/commit/af1ef88eb734a225cf9bd87742a760cdde03b5eb