[TYPO3] TYPO3 4.2.0 and pi_linkT (t3lib_div::implodeArrayForUrl)
Xavier Perseguers
typo3 at perseguers.ch
Sat May 10 17:16:20 CEST 2008
I Alessandro,
> I don't know why but sometimes using TYPO3 v4.2.0 occurs an error like
> this:
> PHP Catchable fatal error: Arugment 2 passed to
> telib_div::implodeArrayForUrl() (etc....)
>
> I investigated and discovered that within:
> typo3/sysext/cms/tslib/class.tslib_pibase.php
> on line 307
>
> [snip]
>
> there is a call to:
> t3lib_div::implodeArrayForUrl(...)
>
> where adding this few lines (before the call above):
>
> if($urlParameters == NULL) {
> $urlParameters = Array();
> }
>
> you can solve the problems. I don't know if TYPO3 was modified or if PHP
> 5.2.x can't understand that the parameter passed as:
> NULL
>
> is misinterpreted as a normal variable.
This is exactly the same error as the one I found in TemplaVoila:
http://bugs.typo3.org/view.php?id=8321
Perhaps the calling method is using an uninstantiated variable as in TV?
--
Xavier Perseguers
http://xavier.perseguers.ch/en
More information about the TYPO3-english
mailing list