-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Description
Description
I've just received an automatic bug report and stack trace from a PHP application using SQLite where the error message is:
Unable to execute statement: nope
The Unable to execute statement:
part comes from the PHP SQLite3 extension, but the nope
part should come from the SQLite library according to the relevant code from PHP extension:
php_sqlite3_error(stmt_obj->db_obj, "Unable to execute statement: %s", sqlite3_errmsg(sqlite3_db_handle(stmt_obj->stmt)));
Except this nope
error string does not exist in the SQLite3 library source code… So I don't really see where the nope
message is coming from.
This seems weird, and it has been the first time I have ever seen this error message.
Just to make it clear this doesn't come from my PHP code either:
try {
$result = $statement->execute();
return $result;
}
catch (\Exception $e)
{
throw new DB_Exception($e->getMessage(), 0, $e);
}
I won't lose sleep for this, but I'm still curious if someone has an idea about where this nope
might come from?
PHP Version
8.3.14
Operating System
Debian Bookworm