User tests: Successful: Unsuccessful:
Partial Pull Request for Issue #29414.
Fixes a notice on PHP 7.4 when uploading extension package fails.
upload_max_filesize
limit. Check PHP error log.upload_max_filesize
limit.Trying to access array offset on value of type bool in administrator\components\com_installer\models\install.php on line 178
No.
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_installer |
Labels |
Added:
?
|
@richard67 The notice is not visible. You have to check PHP error log.
@SharkyKZ I always check PHP error log and have error reporting set to maximum in the backend. In my php.ini file I have E_ALL & ~E_DEPRECATED & ~E_STRICT
, and I have log_errors = On;
in my php.ini and a path to a log file set, which I watch permanently when testing and which shows me all. But the notice mentioned here I did not see.
@richard67 You're right. It's only on PHP 7.4+.
Title |
|
Code change looks fine.
I have tested this item
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-06-15 21:40:08 |
Closed_By | ⇒ | wilsonge | |
Labels |
Added:
?
|
Thanks!
@SharkyKZ For some reason I don't get the PHP notice of issue 1. with PHP 7.3. I get the correct red alert telling that maximum PHP file upload size is too small.