User tests: Successful: Unsuccessful:
Fixes error on System Information page.
Save Global Configuration at least once.
Go to System -> System Information.
htmlspecialchars(): Argument #1 ($string) must be of type string, array given
No errors.
No.
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_admin |
Not necessary to enable debug. Looks like it's an error only on PHP 8. On older versions it's a warning. It can be seen in Configuration File tab, next to log_priorities
option.
Warning: htmlspecialchars() expects parameter 1 to be string, array given in administrator\components\com_admin\tmpl\sysinfo\default_config.php on line 41
Tested successfully on PHP Version 7.4.9
Error was showing in System > System Information > Configuration File > scroll down to bottom and error is under "log_priorities".
After applying the PR, value changed from the error to "all".
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-10-22 15:28:38 |
Closed_By | ⇒ | infograf768 | |
Labels |
Added:
?
|
tks
I saw the PR. I'm on a website and I don't know how to see the error, just enable system debugging?
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31189.