? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
14 Dec 2019

Under php 7.4 this fixes two errors

The first is
Notice: Trying to access array offset on value of type bool in C:\htdocs\joomla-cms\administrator\components\com_joomlaupdate\View\Joomlaupdate\HtmlView.php on line 142

The second is seen when ftp is selected in the joomla update component in each field

<br /><b>Notice</b>: Trying to access array offset on value of type bool in <b>C:\htdocs\joomla-cms\administrator\components\com_joomlaupdate\tmpl\joomlaupdate\default_upload.php</b> on line <b>101</b><br />
@SharkyKZ @Quy @wilsonge Your expert code review on this would be greatly appreciated. Maybe there is a better way to do this.

Additional comments

  • This needs backporting to j3
  • I suspect that there will be a lot more of these to fix
  • php unit should be updated to test and verify these
avatar brianteeman brianteeman - open - 14 Dec 2019
avatar brianteeman brianteeman - change - 14 Dec 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 14 Dec 2019
Category Administration com_joomlaupdate
avatar brianteeman brianteeman - change - 14 Dec 2019
The description was changed
avatar brianteeman brianteeman - edited - 14 Dec 2019
avatar brianteeman brianteeman - change - 14 Dec 2019
The description was changed
avatar brianteeman brianteeman - edited - 14 Dec 2019
avatar SharkyKZ
SharkyKZ - comment - 14 Dec 2019

This is already fixed in staging. See #27219.

avatar brianteeman
brianteeman - comment - 14 Dec 2019

grrh - I didnt see that and no one commented on the issue I opened :(

avatar brianteeman brianteeman - change - 14 Dec 2019
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2019-12-14 22:10:51
Closed_By brianteeman
Labels Added: ?
avatar brianteeman brianteeman - close - 14 Dec 2019

Add a Comment

Login with GitHub to post a comment