Skip to content
Discussion options

You must be logged in to vote

That stack trace means the prepared statement never ran successfully: $statement->execute() returned false, so $result is boolean false and calling fetchArray() on it fatals.

In BirdNET-Pi this almost always points at SQLite, not the “internet date/time” checkbox itself (that flag only changes how timestamps are written once the DB is healthy).

What to check (in order)

  1. Is the DB file still there and readable?

    ls -l ~/BirdNET-Pi/scripts/birds.db
    # or wherever your install put it — common paths:
    # /home/pi/BirdNET-Pi/scripts/birds.db
    # /var/www/html or the path printed in overview.php near the SQLite open

    If the file is missing, zero bytes, or owned by root while PHP runs as www-data/nginx,

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@chezlong
Comment options

Answer selected by chezlong
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants