Bug #37539
closedStatic function t3lib_file_Driver_AbstractDriver::verifyConfiguration() should not be abstract
100%
Description
PHP Runtime Notice: Static function t3lib_file_Driver_AbstractDriver::verifyConfiguration() should not be abstract in /t3lib/file/Driver/AbstractDriver.php line 144
Updated by Jigal van Hemert over 12 years ago
- 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.
Updated by Thomas Deinhamer over 12 years ago
I guess using an interface instead of the abstract method could be a solution?!
Updated by Helmut Hummel almost 12 years ago
- Target version changed from 6.0.0-alpha2 to 6.0.1
Updated by Gerrit Code Review almost 11 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26777
Updated by Xavier Perseguers almost 11 years ago
- 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.
Updated by Gerrit Code Review almost 11 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26777
Updated by Gerrit Code Review almost 11 years ago
Patch set 1 for branch TYPO3_6-1 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26843
Updated by Xavier Perseguers almost 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset c96321d46d62151ec9d30ee7bf92a419cb64120e.