? ? Success

User tests: Successful: Unsuccessful:

avatar SharkyKZ
SharkyKZ
21 Oct 2020

Summary of Changes

Fixes error on System Information page.

Testing Instructions

Save Global Configuration at least once.
Go to System -> System Information.

Actual result BEFORE applying this Pull Request

htmlspecialchars(): Argument #1 ($string) must be of type string, array given

Expected result AFTER applying this Pull Request

No errors.

Documentation Changes Required

No.

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
3.00

avatar SharkyKZ SharkyKZ - open - 21 Oct 2020
avatar SharkyKZ SharkyKZ - change - 21 Oct 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 21 Oct 2020
Category Administration com_admin
avatar adj9
adj9 - comment - 21 Oct 2020

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.

avatar SharkyKZ
SharkyKZ - comment - 21 Oct 2020

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

avatar infograf768 infograf768 - test_item - 22 Oct 2020 - Tested successfully
avatar particthistle
particthistle - comment - 22 Oct 2020

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".


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31189.

avatar particthistle particthistle - test_item - 22 Oct 2020 - Tested successfully
avatar particthistle
particthistle - comment - 22 Oct 2020

I have tested this item successfully on e384cb6


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31189.

avatar Quy Quy - change - 22 Oct 2020
Status Pending Ready to Commit
avatar Quy
Quy - comment - 22 Oct 2020

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31189.

avatar infograf768 infograf768 - close - 22 Oct 2020
avatar infograf768 infograf768 - merge - 22 Oct 2020
avatar infograf768 infograf768 - change - 22 Oct 2020
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: ?
avatar infograf768
infograf768 - comment - 22 Oct 2020

tks

Add a Comment

Login with GitHub to post a comment