When using PHP PDO with SQLite, the error messages sometimes are not really self-explaining. Today I had an error stating "bind or column index out of range". The "column index" part made me check the tables index and data type.
Finally, the error was to use a bad host parameter :id instead of :tagId. The host parameter passed in was called 'tagId', so SQLite was unable to bind the parameter.
So be sure to check your parameter names provided to SQLite and you're done.