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.
Maybe show something like "Update Joomla to show the recommended PHP version"
White page on the administrator page
PHP 5.6
Joomal 3.8.1
Labels |
Added:
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-12-02 14:50:47 |
Closed_By | ⇒ | SharkyKZ |
Closed_By | SharkyKZ | ⇒ | joomla-cms-bot |
Set to "closed" on behalf of @SharkyKZ by The JTracker Application at issues.joomla.org/joomla-cms/27195
I confirm that the fatal error also occurs in current J3.9.13
Test
https://github.com/joomla/joomla-cms/blob/3.9.13/plugins/quickicon/phpversioncheck/phpversioncheck.php#L132-L139