Fatal error: Uncaught exception 'DbtoolsException' with message 'SQL Statement:SELECT COUNT(cid) AS count FROM gerq_message WHERE fstate=0 AND flag <> 0 AND flag != '2' AND ctype = 1 AND pid = 0 AND authorid = '30245911';Invalid query:SELECT COUNT(cid) AS count FROM gerq_message WHERE fstate=0 AND flag <> 0 AND flag != '2' AND ctype = 1 AND pid = 0 AND authorid = '30245911'' in /ydbv10/yidabasnswww/class/libraries/dbtools/dbtool.class.php:289
Stack trace:
#0 /ydbv10/yidabasnswww/class/libraries/dbtools/provider/outputs/core.class.php(225): Db_Tool::throwException('SQL Statement:S...')
#1 /ydbv10/yidabasnswww/class/libraries/dbtools/provider/parsetool.class.php(369): Core->execute('getMsgNo', Array)
#2 /ydbv10/yidabasnswww/class/libraries/dbtools/dbtool.class.php(277): Parse_Tool->invokes('getMsgNo', Array)
#3 [internal function]: Db_Tool->__call('getMsgNo', Array)
#4 /ydbv10/yidabasnswww/class/service/impls/default/msgboard/msgboard.class.php(235): Db_Tool->getMsgNo(' WHERE fstate=...')
#5 /ydbv10/yidabasnswww/ui/b in /ydbv10/yidabasnswww/class/libraries/dbtools/dbtool.class.php on line 289