Issue Bug Closed

#17135Update from 4.0.5 to 4.1.0 broke my site

Martin Holtz 03/20/07, 21:52 updated 06/27/08, 10:49

Description

Fatal error: Call to undefined function: getmultiplegroupswhereclause() in /typo3_src-4.1/t3lib/class.t3lib_page.php on line 998

I do not know what happens by now, but perhaps there is an extension which is extending the t3lib_page.php? I do not know.

some suggestions where i should look for?

thanks,
martin

quick fix for me:

Line 998:

// $query.= $this->getMultipleGroupsWhereClause($field, $table);

// copying the code from getMultipleGroupsWhereClause

$memberGroups = t3lib_div::intExplode(‘,’,$GLOBALS[‘TSFE’]->gr_list);
$orChecks=array();
$orChecks[]=$field.’=\’\’‘; // If the field is empty, then OK
$orChecks[]=$field.’ IS NULL’; // If the field is NULL, then OK
$orChecks[]=$field.’=\‘0\’‘; // If the field contsains zero, then OK
foreach($memberGroups as $value)    {
$orChecks[] = $GLOBALS[‘TYPO3_DB’]->listQuery($field, $value, $table);
}
$query.= ‘ AND (‘.implode(’ OR ‘,$orChecks).’)’;

(issue imported from #M5265)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.