-
Notifications
You must be signed in to change notification settings - Fork 7.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Unable to execute statement: nope" in SQLite3 #17157
Comments
hmm.... "nope" doesn't seem to be output in php-src either, so I don't know what causes this at the moment... |
Yes I grepped for the string in php-src and couldn't find anything really. I also grepped in my repository source code and couldn't find it either. I thought at first that it might be the SQL statement itself, but it doesn't seem to be possible. |
The only thing I can think of is that |
Possibly something done by an SQLite3 extension? |
Could it be that the bug reporting application is inserting "nope" instead of |
Actually the solution was found on the SQLite3 forum, the error message returned by SQLite can actually be straight from a trigger Interesting, I always thought an error message from a trigger would be prefixed by the name of the trigger, but it is not. Thanks to everyone helping. I hope this can help someone in the future having the same issue :) |
Description
I've just received an automatic bug report and stack trace from a PHP application using SQLite where the error message is:
The
Unable to execute statement:
part comes from the PHP SQLite3 extension, but thenope
part should come from the SQLite library according to the relevant code from PHP extension:Except this
nope
error string does not exist in the SQLite3 library source code… So I don't really see where thenope
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:
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
The text was updated successfully, but these errors were encountered: