$tab = array(
'name' => '名字',
'table' => 'abc123',
'module' => 'theme',
'disabled' => 0
);
// 插入表单数据
$rt = \Phpcmf\Service::M()->db->table('module_form')->insert($tab);Cannot use object of type CodeIgniterDatabaseMySQLiResult as array

这个插入语句是哪里有问题吗?按手册数据库操作来看,应该是没问题的,
插入成功,
但是会提示系统错误?
CRITICAL - 2020-05-08 11:52:17 --> Cannot use object of type CodeIgniter\Database\MySQLi\Result as array # http://www.bb.com/admin.php?s=theme&c=home&m=form_add&dir=theme # INSERT INTO `dr_module_form` (`name`, `table`, `module`, `disabled`) VALUES ('名字', 'abc123', 'theme', 0) #0 D:\123www\bb.com\dayrui\System\CodeIgniter.php(910): Phpcmf\Controllers\Admin\Home->form_add() #1 D:\123www\bb.com\dayrui\System\CodeIgniter.php(398): CodeIgniter\CodeIgniter->runController(Object(Phpcmf\Controllers\Admin\Home)) #2 D:\123www\bb.com\dayrui\System\CodeIgniter.php(306): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false) #3 D:\123www\bb.com\dayrui\Fcms\Init.php(330): CodeIgniter\CodeIgniter->run() #4 D:\123www\bb.com\index.php(47): require('D:\\123www\\bb.co...') #5 D:\123www\bb.com\admin.php(9): require('D:\\123www\\bb.co...') #6 {main}$tab = array( 'name' => '名字', 'table' => 'abc123', 'module' => 'theme', 'disabled' => 0 ); // 插入表单数据 $rt = \Phpcmf\Service::M()->db->table('module_form')->insert($tab);语法感觉没有错误看不出来报错原因,数据库写入成功了吗