报错信息: Fatal error: Call to a member function execute() on a non-object 一般是pdo->prepare 返回了false导致$statement->execute()报错。这种情况一般都是sql语句和表的字段不对应,缺少字段造成的。