[Typo3] Fatal error: Only variables can be passed by reference

Dennis Cheung hkdennis2k at gmail.com
Fri Dec 2 02:42:36 CET 2005


I think this is bug of typo3. It said it is not using
allow_call_time_pass_reference, and you can safely turn it off. But in fact,
there are still a few php still using that feature. As they are written as
chains of function call.

In class.t3lib_db.php, it is using
                'debug_backtrace' =>
while next() has problem with allow_call_time_pass_reference turned off.

to fix this, you have to rewrite the lines.

            echo t3lib_div::view_array(array(
                'caller' => 't3lib_DB::'.$func,
                'ERROR' => $error,
                'lastBuiltQuery' => $this->debug_lastBuiltQuery,
                'debug_backtrace' => $temp

On 12/2/05, racco <raczek at open.infi.pl> wrote:
> Hello!
> I do not know why, but since a while (I cannot say since when exactly)
> my site generates this mysterious error after submitting any form
> displayed using MailFormPlus ext.
> The error is as follows:
> Fatal error: Only variables can be passed by reference in
> .../t3lib/class.t3lib_db.php on line 980
> What is important, all data from form gets stored correctly
> Could you please give me any hints about this?
> On my server I have php version 3.3x and it is there since long time and
> before everything worked just fine
> looking forward to getting some support
> greetings
> racco
> _______________________________________________
> Typo3-english mailing list
> Typo3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

More information about the TYPO3-english mailing list