[TYPO3] tx_yafi - Fatal Error

Marc Weigand info at marcweigand.de
Thu Sep 25 18:17:19 CEST 2008


> It looks like many people had this problem when trying to port their
> scripts from PHP4 to PHP5. PHP offers some merging instructions and
> tells the following:
>
> Illegal use of string offsets causes E_ERROR instead of E_WARNING.
> EX :
> <?php
>  $a = "foo";
>  unset($a[0][1][2]);
> ?>
> Fatal error: Cannot use string offset as an array in ... on line 1
>
> So first of all i tried to install PHP4-CLI but script tells me that
> at least PHP 5.2 is needed to run Typo3(?).
> I'm looking into the PHP code now but I doubt that I will figure something out.

Praise the lord - I fixed it.
Just for the record: In three of the hundreds of feeds the
importer_type and/or importer_config field was empty/NULL/0 in the
tx_yafi_importer table. I manually completed the data and now
everything is back to normal. The very question now is why these
fields were empty since they used to be in there for a few weeks.
Let's just assume I made a mistake and didn't notice it.
Amen


More information about the TYPO3-english mailing list