[TYPO3-english] php overload error

Tomasz Krawczyk tomkrawc at gmail.com
Wed Aug 28 08:54:09 CEST 2013


Hi list,

I have such problem:
PHP Runtime Notice: Declaration of 
TYPO3\\CMS\\Core\\Messaging\\FlashMessageQueue::enqueue() should be 
compatible with SplQueue::enqueue($value) in 
D:\\wamp\\www\\typo3_src-6.1.3\\typo3\\sysext\\core\\Classes\\Messaging\\FlashMessageQueue.php 
line 36

The class FlashMessageQueue extends \SplQueue. The method enqueue() is 
defined in FlashMessageQueue in that way:

public function enqueue(\TYPO3\CMS\Core\Messaging\FlashMessage $message)

So it overloads

SplQueue::enqueue ( mixed $value )

but what that an error message means? Do I have PHP configuration problem?

PHP 5.4.16


More information about the TYPO3-english mailing list