[TYPO3-core] RFC #12022: PHP-5.3 warning about missing references with some extensions
Rupert Germann
rupi at gmx.li
Fri Nov 6 17:40:36 CET 2009
hi
RFC is dropped,
because the described problem is not a problem of the TYPO3 core, it's a
changed behaviour in PHP 5.3.
If extensions are not compatible to PHP 5.3 this can not be fixed in the
core.
greets
rupert
Rupert Germann schrieb:
> Hi,
>
> this is a SVN patch request.
>
> Type: Bugfix
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=12022
>
> Branches: Trunk, (and possibly older, will test asap)
>
> Problem:
> when TYpo3 is running under PHP 5.3 and you have an extension on a page
> which uses a reference in its main function
>
> function main($content, &$conf) ...
>
> you'll get the following warning:
>
> Core: Error handler (FE): PHP Warning: Parameter 2 to
> tx_ttnews::main_news() expected to be a reference, value given in
> C:\xampp\xampp\htdocs\typo3\dummy-4.2.9\typo3\sysext\cms\tslib\class.tslib_content.php
> line 6605
>
> Hint: there is no error in tt_news - I just simulated it by adding the
> reference ;-)
>
> Solution:
> add the missing reference operator in class tslib_content function
> callUserFunction()
>
>
>
>
> greets
> rupert
>
More information about the TYPO3-team-core
mailing list