Index: t3lib/class.t3lib_db.php =================================================================== --- t3lib/class.t3lib_db.php (revision 4279) +++ t3lib/class.t3lib_db.php (working copy) @@ -1160,7 +1160,7 @@ } $msg .= ': function t3lib_DB->' . $trace[0]['function'] . ' called from file ' . substr($trace[0]['file'],strlen(PATH_site)+2) . ' in line ' . $trace[0]['line']; t3lib_div::sysLog($msg.'. Use a devLog extension to get more details.', 'Core/t3lib_db', 3); - t3lib_div::devLog($msg.'.', 'Core/t3lib_db', 3, $trace); + t3lib_div::devLog($msg.'.', 'Core/t3lib_db', 3, array('SQL Query' => $this->debug_lastBuiltQuery, 'SQL Error' => $this->sql_error(), 'Backtrace' => $trace)); return FALSE; }