PHP error category
PDO
PDO drivers and statements.
PDO errors arise when pdo drivers and statements affect an executing PHP application or its supporting service. Use the exact signature and runtime context to narrow the cause before changing configuration.
The guides in this category separate code defects from environment differences, show focused diagnostics, and favor site-scoped corrections that preserve unrelated applications.
Guides in this category
| Title | Pattern | Severity |
|---|---|---|
| MySQL commands out of sync | SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuffered queries are active |
error |
| PDO could not find driver | PDOException: could not find driver |
fatal |
| SQLSTATE HY093 invalid parameter number | SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens |
error |
| SQLSTATE IM001 driver does not support function | SQLSTATE[IM001]: Driver does not support this function: driver does not support setting attributes |
error |