[Typo3-dev] Fatal Error in BE (Typo 3.8 and TV)
Niels Vornholt
n.vornholt at ogvit.de
Fri Jun 24 16:00:38 CEST 2005
hi folks,
i hope i catched the right list for this...:
i have t3.8 with TV (classic page module deactivated) running on
fedora4, php5 and mysql 4.1.10.
when i tried to copy one or more pages from one place to another (used
the klickmenu in the page tree) i got a php fatal error:
Cannot unset string offsets in
/home/test/typo3_src-3.8.0/t3lib/class.t3lib_div.php on line 3300,
referer: http://domain.tld/typo3/alt_topmenu_dummy.php
this error occured on a few other places in the BE, too, so i looked up
the line in class.t3lib_div.php and changed it from
unset($dataStruct['meta']);
to
if(isset($dataStruct['meta']) && is_array($dataStruct['meta'])) {
unset($dataStruct['meta']); }
this solved the problem for me. i don´t know if some of you can
reproduce this error, but in case somebody needs it i made a small diff:
http://www.ogvit.de/t3lib_div.diff
--
greetings,
niels vornholt
More information about the TYPO3-dev
mailing list