Bug #37539
closed
Static function t3lib_file_Driver_AbstractDriver::verifyConfiguration() should not be abstract
Added by Thomas Deinhamer over 12 years ago.
Updated about 6 years ago.
Category:
File Abstraction Layer (FAL)
Description
PHP Runtime Notice: Static function t3lib_file_Driver_AbstractDriver::verifyConfiguration() should not be abstract in /t3lib/file/Driver/AbstractDriver.php line 144
- Category set to File Abstraction Layer (FAL)
- Status changed from New to Accepted
- Complexity set to easy
A method cannot be abstract and static at the same time. A child class can have a static method with the same name, but it will not be an implementation like you try to enforce with an abstract method.
There is late static binding in PHP 5.3+, but this is slightly different.
I guess using an interface instead of the abstract method could be a solution?!
- Target version changed from 6.0.0-alpha2 to 6.0.1
- Status changed from Accepted to Under Review
- Assignee set to Xavier Perseguers
- Is Regression set to No
How-to Reproduce¶
Use PHP 5.4
Add this to AdditionalConfiguration.php:
$GLOBALS['TYPO3_CONF_VARS']['SYS']['errorHandlerErrors'] = E_ALL ^ E_NOTICE;
$GLOBALS['TYPO3_CONF_VARS']['SYS']['exceptionalErrors'] = E_ALL ^ E_NOTICE ^ E_WARNING ^ E_USER_ERROR ^ E_USER_NOTICE;
Try to show Backend Login form.
- Target version deleted (
6.0.1)
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF