Error map

PDOException: could not find driver Laravel: Illuminate\Database\QueryException: could not find driver (SQL: select * from information_schema.tables)

Laravel · layer 4, Application & API

Open the full error page →

Centre: this error. First ring: errors it is linked with (12). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.

PDOException: could not find driver — Laravel: Illuminate\Database\QueryException: could not find driver (SQL: select * from information_schema.tables) (Laravel)PDOExceptio…Call to undefined function — PHP Fatal error: Uncaught Error: Call to undefined function (PHP)Call to undefined f…could not find driver — PDOException: could not find driver (PHP)could not find driv…intl missing — Class "NumberFormatter" not found / The "intl" PHP extension is required (PHP)intl missingOne or more database tables are unavailable — WordPress: One or more database tables are unavailable. The database may need to be repaired. (WordPress)One or more databas…GD missing — Fatal error: Uncaught Error: Call to undefined function imagecreatefromjpeg() (PHP)GD missingSQLSTATE[23000]: Integrity constraint violation — Laravel: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'x@example.com' for key 'users_email_unique' (Laravel)SQLSTATE[23000]: In…SQLSTATE[HY000] [1045] Access denied for user — Laravel: SQLSTATE[HY000] [1045] Access denied for user 'forge'@'localhost' (using password: YES) (Laravel)SQLSTATE[HY000] [10…SQLSTATE[42S22]: Column not found — Laravel: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'status' in 'field list' (Laravel)SQLSTATE[42S22]: Co…SQLSTATE[HY000] [2002] Connection refused — Laravel: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from sessions) / php_network_getaddresses: getaddrinfo failed (Laravel)SQLSTATE[HY000] [20…Laravel: Allowed memory size exhausted (request) — Laravel/PHP: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in vendor/laravel/framework (Laravel)Laravel: Allowed me…SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client — Laravel: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client [caching_sha2_password] (Laravel)SQLSTATE[HY000] [20…Sail: getaddrinfo failed for host mysql — Laravel Sail: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Temporary failure in name resolution (Laravel)Sail: getaddrinfo f…500 — HTTP 500 Internal Server Error (HTTP)500Class not found — PHP Fatal error: Uncaught Error: Class "X" not found (PHP)Class not foundHeaders already sent — Warning: Cannot modify header information - headers already sent (PHP)Headers already sent1040 — MySQL ERROR 1040 (08004): Too many connections (MySQL)1040Communications link failure — com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure (Java)Communications link…HikariCP timeout — HikariPool-1 - Connection is not available, request timed out after 30000ms (Java)HikariCP timeout42883 function — ERROR: function x(text) does not exist — No function matches the given name and argument types (PostgreSQL)42883 functionextension not available — ERROR: could not open extension control file ".../postgis.control": No such file or directory (PostgreSQL)extension not avail…create extension denied — ERROR: permission denied to create extension "x" — Must be superuser to create this extension. (PostgreSQL)create extension de…1146 — MySQL ERROR 1146 (42S02): Table 'db.table' doesn't exist (MySQL)1146DB connection — WordPress: Error Establishing a Database Connection (WordPress)DB connectionSFC unable to fix — Windows Resource Protection found corrupt files but was unable to fix some of them (Windows)SFC unable to fixImagePullBackOff — Kubernetes: ImagePullBackOff / ErrImagePull (Kubernetes)ImagePullBackOffexec format error — exec /usr/local/bin/docker-entrypoint.sh: exec format error (Docker)exec format errorconflict: unable to remove repository reference — conflict: unable to remove repository reference (must force) - container is using its referenced image (Docker)conflict: unable to…1062 — MySQL ERROR 1062 (23000): Duplicate entry for key (MySQL)10621452 — MySQL ERROR 1452: Cannot add or update a child row: a foreign key constraint fails (MySQL)14521048 — MySQL ERROR 1048 (23000): Column 'x' cannot be null (MySQL)1048env() returns null (config cached) — Laravel: .env changes ignored / env('X') returns null after php artisan config:cache (Laravel)env() returns null …Command "x" is not defined — Laravel: Symfony\Component\Console\Exception\CommandNotFoundException: Command "make:livewire" is not defined. Did you mean one of these? (Laravel)Command "x" is not …Laravel table not found — Laravel: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'db.sessions' doesn't exist (PHP)Laravel table not f…Base table or view already exists — Laravel: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'users' already exists (Laravel)Base table or view …Specified key was too long; max key length is 1000 bytes — Laravel: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (Laravel)Specified key was t…ConnectionRefusedError [Errno 111] (SMTP) — Python: ConnectionRefusedError: [Errno 111] Connection refused — smtplib connect to localhost:25 (Email / SMTP)ConnectionRefusedEr…Nodemailer: ETIMEDOUT / ECONNECTION — Nodemailer: Error: connect ETIMEDOUT 142.250.27.108:465 (code: 'ETIMEDOUT', command: 'CONN') (Email / SMTP)Nodemailer: ETIMEDO…Redis connection refused (Laravel) — Laravel: Predis\Connection\ConnectionException: Connection refused [tcp://127.0.0.1:6379] / RedisException: Connection refused (Laravel)Redis connection re…Allowed memory size exhausted — PHP Fatal error: Allowed memory size of X bytes exhausted (PHP)Allowed memory size…SIGSEGV — Segmentation fault (core dumped) (Linux)SIGSEGVOOM killer — Killed / Out of memory: Killed process (Linux OOM killer) (Linux)OOM killerToo many authentication failures — Received disconnect: Too many authentication failures (Linux)Too many authentica…Authentication token manipulation error — passwd: Authentication token manipulation error (Linux)Authentication toke…rest_forbidden — WordPress REST API: {"code":"rest_forbidden","message":"Sorry, you are not allowed to do that."} (401/403) (WordPress)rest_forbiddenport is already allocated — Docker: Bind for 0.0.0.0:80 failed: port is already allocated (Docker)port is already all…Attempt to read property "x" on null — Laravel/PHP 8: ErrorException: Attempt to read property "name" on null (Laravel)Attempt to read pro…403 This action is unauthorized — Laravel: Illuminate\Auth\Access\AuthorizationException: This action is unauthorized. (Laravel)403 This action is …

Directly related (12)

Call to undefined functionPHP

PHP Fatal error: Uncaught Error: Call to undefined function

PHP can’t find the function you called — usually a missing extension, missing include, or namespace issue.

could not find driverPHP

PDOException: could not find driver

The PDO driver for your database (pdo_mysql, pdo_pgsql, pdo_sqlite) isn’t installed or enabled.

intl missingPHP

Class "NumberFormatter" not found / The "intl" PHP extension is required

Code uses the intl extension (NumberFormatter, Collator, IntlDateFormatter) but it isn’t installed.

One or more database tables are unavailableWordPress

WordPress: One or more database tables are unavailable. The database may need to be repaired.

WordPress can’t read one or more of its tables — they’re crashed (MyISAM), missing, or the table prefix in wp-config.php is wrong.

GD missingPHP

Fatal error: Uncaught Error: Call to undefined function imagecreatefromjpeg()

The GD extension (or its JPEG/WebP support) isn’t installed for the PHP version serving the site.

SQLSTATE[23000]: Integrity constraint violationLaravel

Laravel: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'x@example.com' for key 'users_email_unique'

The query violated a database constraint — a duplicate value in a unique column or a missing/blocked foreign key.

SQLSTATE[HY000] [1045] Access denied for userLaravel

Laravel: SQLSTATE[HY000] [1045] Access denied for user 'forge'@'localhost' (using password: YES)

MySQL rejected the username/password configured in Laravel's `.env`.

SQLSTATE[42S22]: Column not foundLaravel

Laravel: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'status' in 'field list'

The SQL refers to a column that doesn't exist in the table — a missing migration, typo or wrong table.

SQLSTATE[HY000] [2002] Connection refusedLaravel

Laravel: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from sessions) / php_network_getaddresses: getaddrinfo failed

Laravel can't open a network connection to the database host and port from `.env`.

Laravel: Allowed memory size exhausted (request)Laravel

Laravel/PHP: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in vendor/laravel/framework

A request (or artisan job) used more memory than PHP's `memory_limit` allows.

SQLSTATE[HY000] [2054] The server requested authentication method unknown to the clientLaravel

Laravel: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client [caching_sha2_password]

The PHP MySQL driver doesn't support the authentication plugin MySQL 8 uses (`caching_sha2_password`).

Sail: getaddrinfo failed for host mysqlLaravel

Laravel Sail: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Temporary failure in name resolution

Commands run outside the Sail container (on the host) try to resolve the Docker service name `mysql`, which only exists inside th…

Two steps away (35)

500HTTP

HTTP 500 Internal Server Error

The server hit an unexpected condition — usually an unhandled exception or misconfiguration in the application.

Class not foundPHP

PHP Fatal error: Uncaught Error: Class "X" not found

PHP couldn’t load the class — autoloading failed, the namespace is wrong, or the dependency isn’t installed.

Headers already sentPHP

Warning: Cannot modify header information - headers already sent

You called `header()`, `setcookie()` or `session_start()` after output had already been sent to the browser.

1040MySQL

MySQL ERROR 1040 (08004): Too many connections

MySQL reached `max_connections` and refuses new clients.

Communications link failureJava

com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure

The MySQL JDBC driver couldn’t reach the database (or the connection dropped).

HikariCP timeoutJava

HikariPool-1 - Connection is not available, request timed out after 30000ms

The connection pool was exhausted — all connections were busy for 30 seconds.

42883 functionPostgreSQL

ERROR: function x(text) does not exist — No function matches the given name and argument types

PostgreSQL found no function with that name and argument types — wrong types, missing extension, or schema not in search_path.

extension not availablePostgreSQL

ERROR: could not open extension control file ".../postgis.control": No such file or directory

CREATE EXTENSION failed because the extension’s files aren’t installed on the server.

create extension deniedPostgreSQL

ERROR: permission denied to create extension "x" — Must be superuser to create this extension.

Your role lacks the privilege to create that extension.

1146MySQL

MySQL ERROR 1146 (42S02): Table 'db.table' doesn't exist

The query references a table that MySQL can’t find in that database.

DB connectionWordPress

WordPress: Error Establishing a Database Connection

WordPress can’t connect to its MySQL/MariaDB database with the credentials in wp-config.php, or the database server is down.

SFC unable to fixWindows

Windows Resource Protection found corrupt files but was unable to fix some of them

SFC detected damaged system files but couldn’t restore them because its own source (the component store) is damaged too.

ImagePullBackOffKubernetes

Kubernetes: ImagePullBackOff / ErrImagePull

The node can’t pull the container image — wrong name/tag, missing registry credentials, or registry unreachable.

exec format errorDocker

exec /usr/local/bin/docker-entrypoint.sh: exec format error

The container tried to run a binary built for a different CPU architecture (arm64 vs amd64) — or a script with a broken shebang /…

conflict: unable to remove repository referenceDocker

conflict: unable to remove repository reference (must force) - container is using its referenced image

You tried to delete an image that a container — even a stopped one — still uses.

1062MySQL

MySQL ERROR 1062 (23000): Duplicate entry for key

An INSERT/UPDATE would create a duplicate value in a PRIMARY or UNIQUE key.

1452MySQL

MySQL ERROR 1452: Cannot add or update a child row: a foreign key constraint fails

You inserted/updated a row whose foreign key value doesn’t exist in the referenced parent table.

1048MySQL

MySQL ERROR 1048 (23000): Column 'x' cannot be null

An INSERT/UPDATE put NULL into a NOT NULL column.

env() returns null (config cached)Laravel

Laravel: .env changes ignored / env('X') returns null after php artisan config:cache

After `config:cache`, Laravel no longer reads `.env`, so `env()` calls outside config files return null and edits to `.env` have…

Command "x" is not definedLaravel

Laravel: Symfony\Component\Console\Exception\CommandNotFoundException: Command "make:livewire" is not defined. Did you mean one of these?

`php artisan` doesn't know the command you typed — typo, missing package or an unregistered service provider.

Laravel table not foundPHP

Laravel: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'db.sessions' doesn't exist

Laravel queried a table that hasn’t been created — usually sessions, cache, jobs or a new model’s table.

Base table or view already existsLaravel

Laravel: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'users' already exists

A migration tries to create a table that is already in the database.

Specified key was too long; max key length is 1000 bytesLaravel

Laravel: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes

An indexed string column exceeds the index size allowed by an older MySQL/MariaDB with utf8mb4.

ConnectionRefusedError [Errno 111] (SMTP)Email / SMTP

Python: ConnectionRefusedError: [Errno 111] Connection refused — smtplib connect to localhost:25

Nothing is listening on the SMTP host and port your script connected to — often `localhost:25` because no host was given and no l…

Nodemailer: ETIMEDOUT / ECONNECTIONEmail / SMTP

Nodemailer: Error: connect ETIMEDOUT 142.250.27.108:465 (code: 'ETIMEDOUT', command: 'CONN')

Nodemailer could not open a connection to the SMTP server before the timeout — a blocked port, wrong host, or network issue.

Redis connection refused (Laravel)Laravel

Laravel: Predis\Connection\ConnectionException: Connection refused [tcp://127.0.0.1:6379] / RedisException: Connection refused

Laravel can't connect to Redis, which it uses for cache, sessions or queues.

Allowed memory size exhaustedPHP

PHP Fatal error: Allowed memory size of X bytes exhausted

The script tried to use more memory than PHP’s `memory_limit` allows.

SIGSEGVLinux

Segmentation fault (core dumped)

A program accessed memory it wasn’t allowed to, and the kernel killed it with SIGSEGV (exit code 139).

OOM killerLinux

Killed / Out of memory: Killed process (Linux OOM killer)

The kernel ran out of memory and killed a process to recover — the program just prints “Killed” (exit code 137).

Too many authentication failuresLinux

Received disconnect: Too many authentication failures

Your SSH agent offered too many keys before the right one, and the server cut the connection (MaxAuthTries, default 6).

Authentication token manipulation errorLinux

passwd: Authentication token manipulation error

passwd couldn’t update the password — the root filesystem is read-only, /etc/shadow has wrong permissions/attributes, or a PAM ru…

rest_forbiddenWordPress

WordPress REST API: {"code":"rest_forbidden","message":"Sorry, you are not allowed to do that."} (401/403)

The REST request isn’t authenticated or the user lacks the capability required by the route’s permission_callback.

port is already allocatedDocker

Docker: Bind for 0.0.0.0:80 failed: port is already allocated

Another container or host process already publishes that host port.

Attempt to read property "x" on nullLaravel

Laravel/PHP 8: ErrorException: Attempt to read property "name" on null

You accessed a property on a value that is `null`, typically an empty relationship or a query that found nothing.

403 This action is unauthorizedLaravel

Laravel: Illuminate\Auth\Access\AuthorizationException: This action is unauthorized.

A policy or gate denied the action for the current user, so Laravel returned HTTP 403.