?
Referenced as Pull Request for: # 27197
avatar irbian
irbian
2 Dec 2019

Steps to reproduce the issue

I had this error:

PHP Fatal error: Call to a member function format() on null in /www/joomla/sede/plugins/quickicon/phpversioncheck/phpversioncheck.php on line 174

I use Joomla 3.8.1 on PHP 5.6

The problem is a simple null pointer. The array of supported PHP versions is fixed. Yesterday 2019/12/1, the last PHP version on the array, lost support https://github.com/joomla/joomla-cms/blob/3.8.1/plugins/quickicon/phpversioncheck/phpversioncheck.php#L130

Because of this, recommendedVersionEndOfSupport is null, and can´t be called format on

I understand that Joomla 3.8.1 is not the last version, and PHP 5.6 is unsupported, but this is beyond the point. I understand that a updated environment and version is the way to go, but this is a bug that breaks access from one day to the other without user intervention.

Expected result

Maybe show something like "Update Joomla to show the recommended PHP version"

Actual result

White page on the administrator page

System information (as much as possible)

PHP 5.6
Joomal 3.8.1

avatar irbian irbian - open - 2 Dec 2019
avatar joomla-cms-bot joomla-cms-bot - change - 2 Dec 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 2 Dec 2019
avatar irbian irbian - change - 2 Dec 2019
The description was changed
avatar irbian irbian - edited - 2 Dec 2019
avatar ReLater
ReLater - comment - 2 Dec 2019

I confirm that the fatal error also occurs in current J3.9.13

Test

avatar SharkyKZ
SharkyKZ - comment - 2 Dec 2019

Test PR #27197 please.

avatar SharkyKZ SharkyKZ - change - 2 Dec 2019
Status New Closed
Closed_Date 0000-00-00 00:00:00 2019-12-02 14:50:47
Closed_By SharkyKZ
avatar joomla-cms-bot joomla-cms-bot - change - 2 Dec 2019
Closed_By SharkyKZ joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 2 Dec 2019
avatar joomla-cms-bot
joomla-cms-bot - comment - 2 Dec 2019

Set to "closed" on behalf of @SharkyKZ by The JTracker Application at issues.joomla.org/joomla-cms/27195

Add a Comment

Login with GitHub to post a comment