Joomla 3.5 Staging (2016-02-15).
PHP Version 7.0.2-nmm1
Web Server Apache
WebServer to PHP Interface fpm-fcgi
Go to Global configuration.
Set Error reporting: Maximum.
Set Cache Handler: Cache_Lite
Save configuration.
You'll see:
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Cache_Lite has a deprecated constructor in /usr/share/php/Cache/Lite.php on line 29
Also if cache is NOT enabled at all.
Title |
|
Title |
|
@mbabker nd the correct link for that is?
https://pear.php.net/package/Cache_Lite/
But given they support PHP 4 still, they can't make the needed change until dropping support for that.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-02-16 18:14:13 |
Closed_By | ⇒ | brianteeman |
Thank you.
Looks like this is a known issue
https://pear.php.net/bugs/bug.php?id=21003
Labels |
Added:
?
|
This needs to be reported to the Cache_Lite maintainers. Not a core CMS issue.
Tech details: The global config has a field to choose cache handlers. The field relies on calling the handler's
isSupported()
method to tell the system whether a handler is supported in the environment. JCacheStorageCachelite::isSupported() will load the Cache_Lite class into memory and that will trigger the deprecation message.Solution: Before PHP 8 (presumably when PHP will drop support for PHP 4 style constructors), the Cache_Lite maintainers need to refactor their class to use PHP 5 style constructors.