今天用getLastSql();调试程序出错了,有人知道是什么问题吗?
错误提示如下:
Call to a member function getLastSql() on a non-object E:\xampp1\htdocs\s\Lib\Action\SuperManagerAction.class.php 第 9 行.
错误位置
FILE: E:\xampp1\htdocs\TP\Lib\Core\Think.class.php LINE: 275
TRACE
[13-05-24 20:12:05] E:\xampp1\htdocs\TP\Lib\Core\Think.class.php (275) halt(Call to a member function getLastSql() on a non-object E:\xampp1\htdocs\s\Lib\Action\SuperManagerAction.class.php 第 9 行.)
[13-05-24 20:12:05] E:\xampp1\htdocs\TP\Lib\Core\Think.class.php (290) Think::appError(1, Call to a member function getLastSql() on a non-object, E:\xampp1\htdocs\s\Lib\Action\SuperManagerAction.class.php, 9)
[13-05-24 20:12:05] () Think::fatalError()