Php 我将PDO插入mysql的代码有什么问题

Php 我将PDO插入mysql的代码有什么问题,php,mysql,Php,Mysql,我尝试将数据插入数据库,但总是出错 $insertTransaction = $odb->prepare("INSERT INTO `cq9_transactions` VALUES(NULL, :userId, :actionType, :account, :createTime, :endTime, :statusTxt, :statusMessage, :beforeBalance, :afterbalance, :currencyCode, :eventJSON, :created

我尝试将数据插入数据库,但总是出错

$insertTransaction = $odb->prepare("INSERT INTO `cq9_transactions` VALUES(NULL, :userId, :actionType, :account, :createTime, :endTime, :statusTxt, :statusMessage, :beforeBalance, :afterbalance, :currencyCode, :eventJSON, :createdAt, NULL)");
$insertTransaction->execute(array(':userId' => 1, ':actionType' => 'takeall', ':account' => 'admin', ':createTime' => getDateTime(), ':endTime' => getDateTime(), ':statusTxt' => 'success', ':statusMessage' => 'success', ':beforeBalance' => '1', ':afterBalance' => '1', ':currencyCode' => 'CNY', ':eventJSON' => '1', ':createdAt' => serverDateTime()));
错误消息:
警告:PDOStatement::execute():SQLSTATE[HY093]:无效参数编号:在第120行的C:\xampp\htdocs\cq9 api\public\index.php中未定义参数。您试图在表中插入14个值,但只执行了12个值。尝试修改execute()或insert语句。

错误消息很清楚,是否?参数太多或太少。将查询中的参数与
execute()
进行比较。其中一个参数有一个简单的键入错误。。