Issue Bug Closed

#15348Invalid argument supplied for foreach() in class.ux_t3lib_db.php

old_pekue 01/03/06, 12:15 updated 08/12/06, 14:22

Description

while trying to parse the string

(t3ver_oid=9 || uid=9) AND tt_content.deleted=0

t3lib_sqlparser::parseWhereClause encounters an error and returns a string.
ux_t3lib_DB::_quoteWhereClause expects an array as first parameter and dies therefore with “Invalid argument supplied for foreach() in /var/www/xxxxxxxx/typo3/sysext/dbal/class.ux_t3lib_db.php on line 957”

$TYPO3_CONF_VARS[‘EXTCONF’][‘dbal’][‘handlerCfg’] = array (
‘_DEFAULT’ => array (
‘type’ => ‘native’,
)
);
(issue imported from #M2162)

Reviews 0

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