Bug #36828

Fix for wrong function signatures

Added by Thomas Worm about 1 year ago. Updated about 1 year ago.

Status:New Start date:2012-05-04
Priority:Must have Due date:2012-05-04
Assignee:- % Done:

100%

Category:-
Target version:4.7.1 Estimated time:0.50 hour
TYPO3 Version:4.7 Complexity:easy
PHP Version:5.4
Votes: 1 (View)

Description

In PHP 5.4.1 with display_errors On there are several errors because of wrong function signatures.
I've corrected all found errors in attached patch file, maybe there are more.

typo3-4.7.0-fixes.patch (6 kB) Thomas Worm, 2012-05-04 07:17

typo3-4.7.0-fixes.patch (14.2 kB) Thomas Worm, 2012-05-04 16:14

History

Updated by Markus Klein about 1 year ago

Hi Thomas!

Thanks for reporting the issues.
Can you please also specify whether E_STRICT was enabled or not?

Did this really trigger errors?

~Markus

Updated by Thomas Worm about 1 year ago

Hi Markus,

Markus Klein wrote:

Can you please also specify whether E_STRICT was enabled or not?

E_STRICT is enabled.
display_errors (in Install tool -> all configuration) is -1

Did this really trigger errors?

The Backend showed errors on several pages (red box with "Oops an error occured").

Disabling E_STRICT will hide these errors, but concerning our company security guidelines it is not allowed, so I decided to fix them.

I found some more. I'll post an updated patch file later.

Thomas

Updated by Thomas Worm about 1 year ago

As promised the updated patch file

Also available in: Atom PDF