Error map

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

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.

403 This action is unauthorized — Laravel: Illuminate\Auth\Access\AuthorizationException: This action is unauthorized. (Laravel)403 This ac…Target class does not exist — Laravel: Target class [App\Http\Controllers\X] does not exist. (PHP)Target class does n…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 …CORS blocked (Laravel API) — Browser: Access to XMLHttpRequest at 'https://api.example.com' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header — Laravel (Laravel)CORS blocked (Larav…Undefined array key — Laravel/PHP 8: ErrorException: Undefined array key "name" (PHP 8) / Undefined index: name (PHP 7) (Laravel)Undefined array keyThe Mix manifest does not exist — Laravel Mix: Illuminate\Foundation\Exceptions\... The Mix manifest does not exist. (public/mix-manifest.json) (Laravel)The Mix manifest do…Undefined variable $x (Blade view) — Laravel: ErrorException: Undefined variable $posts (View: /resources/views/posts/index.blade.php) (Laravel)Undefined variable …Attempt to read property "x" on null — Laravel/PHP 8: ErrorException: Attempt to read property "name" on null (Laravel)Attempt to read pro…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…DecryptException: The payload is invalid / The MAC is invalid — Laravel: Illuminate\Contracts\Encryption\DecryptException: The payload is invalid. / The MAC is invalid. (Laravel)DecryptException: T…Property [x] does not exist on this collection instance — Laravel: Exception: Property [name] does not exist on this collection instance. (Laravel)Property [x] does n…TypeError: Argument #1 must be of type X, Y given — Laravel/PHP: TypeError: App\Services\Mailer::send(): Argument #1 ($user) must be of type App\Models\User, null given (Laravel)TypeError: Argument…No scheduled commands are ready to run — Laravel scheduler: INFO No scheduled commands are ready to run. (tasks never execute) (Laravel)No scheduled comman…Class not found — PHP Fatal error: Uncaught Error: Class "X" not found (PHP)Class not foundNo application encryption key — Laravel: No application encryption key has been specified. (PHP)No application encr…419 Page Expired — Laravel: 419 Page Expired (CSRF token mismatch) (PHP)419 Page ExpiredLaravel storage — Laravel: The stream or file "storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied (PHP)Laravel storageVite manifest not found — Laravel: Vite manifest not found at: public/build/manifest.json (PHP)Vite manifest not f…This does not seem to be a WordPress installation — WP-CLI: Error: This does not seem to be a WordPress installation. Pass --path=`path/to/wordpress` or run `wp core download` (WordPress)This does not seem …429 Too Many Requests (Laravel throttle) — Laravel: Illuminate\Http\Exceptions\ThrottleRequestsException: Too Many Attempts. / 429 Too Many Requests (Laravel)429 Too Many Reques…Sanctum: 401 Unauthenticated — Laravel Sanctum: {"message":"Unauthenticated."} 401 on API / SPA requests (Laravel)Sanctum: 401 Unauth…422 Unprocessable Entity: The given data was invalid — Laravel: {"message":"The given data was invalid.","errors":{"email":["The email field is required."]}} (422) (Laravel)422 Unprocessable E…Undefined array key — Warning: Undefined array key / Undefined index (PHP)Undefined array keyArray offset on null — Warning: Trying to access array offset on value of type null (PHP)Array offset on nullUnable to locate a class or view for component — Laravel: InvalidArgumentException: Unable to locate a class or view for component [alert]. (Laravel)Unable to locate a …InvalidArgumentException: View [x] not found — Laravel: InvalidArgumentException: View [posts.index] not found. (Laravel)InvalidArgumentExce…Storage files 404: public/storage symlink missing — Laravel: 404 for /storage/file.jpg — symlink(): No such file or directory / The [public/storage] link already exists (Laravel)Storage files 404: …Laravel: Expected response code 250 but got 550 — Laravel: Expected response code "250" but got code "550", with message "550 5.7.1 Relaying denied" (Email / SMTP)Laravel: Expected r…Class "App\Models\X" not found — Laravel: Error: Class "App\Models\Post" not found (Laravel)Class "App\Models\X…BadMethodCallException: Call to undefined method — Laravel: BadMethodCallException: Call to undefined method App\Models\Post::whereTitle() / Illuminate\Database\Eloquent\Builder::foo() (Laravel)BadMethodCallExcept…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 killerSession store not set on request — Laravel: RuntimeException: Session store not set on request (Laravel)Session store not s…Unsupported cipher or incorrect key length — Laravel: RuntimeException: Unsupported cipher or incorrect key length. Supported ciphers are: aes-128-cbc, aes-256-cbc, aes-128-gcm, aes-256-gcm (Laravel)Unsupported cipher …Token has expired (tymon/jwt-auth) — Laravel JWT: Tymon\JWTAuth\Exceptions\TokenExpiredException: Token has expired / The token could not be parsed from the request (Laravel)Token has expired (…MassAssignmentException — Laravel: Illuminate\Database\Eloquent\MassAssignmentException: Add [x] to fillable property to allow mass assignment (Laravel)MassAssignmentExcep…No query results for model — Laravel: Illuminate\Database\Eloquent\ModelNotFoundException: No query results for model [App\Models\Post] 5 (Laravel)No query results fo…ModelNotFoundException in queued job — Laravel Queue: Illuminate\Queue\SerializesModels: No query results for model [App\Models\Order] 42 (job failed) (Laravel)ModelNotFoundExcept…TypeError — Fatal error: Uncaught TypeError: foo(): Argument #1 ($x) must be of type int, string given (PHP)TypeErrorArray to string conversion — Warning: Array to string conversion (PHP)Array to string con…Cannot use object as array — Fatal error: Uncaught Error: Cannot use object of type stdClass as array (PHP)Cannot use object a…Missed schedule — WordPress: Missed schedule — scheduled posts not publishing (WP-Cron not running) (WordPress)Missed scheduleMaximum execution time of 30 seconds exceeded — Laravel: Symfony\Component\ErrorHandler\Error\FatalError: Maximum execution time of 30 seconds exceeded (Laravel)Maximum execution t…MaxAttemptsExceededException (queue job) — Laravel Queue: Illuminate\Queue\MaxAttemptsExceededException: App\Jobs\SendReport has been attempted too many times or run too long (Laravel)MaxAttemptsExceeded…

Directly related (12)

Target class does not existPHP

Laravel: Target class [App\Http\Controllers\X] does not exist.

Laravel’s container couldn’t find the controller or class named in a route or binding.

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.

CORS blocked (Laravel API)Laravel

Browser: Access to XMLHttpRequest at 'https://api.example.com' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header — Laravel

The browser blocked a cross-origin call to your Laravel API because the response lacks the right CORS headers.

Undefined array keyLaravel

Laravel/PHP 8: ErrorException: Undefined array key "name" (PHP 8) / Undefined index: name (PHP 7)

Code read an array element whose key isn't present.

The Mix manifest does not existLaravel

Laravel Mix: Illuminate\Foundation\Exceptions\... The Mix manifest does not exist. (public/mix-manifest.json)

A view calls `mix('css/app.css')`, but the assets were never compiled so `public/mix-manifest.json` is missing.

Undefined variable $x (Blade view)Laravel

Laravel: ErrorException: Undefined variable $posts (View: /resources/views/posts/index.blade.php)

A Blade template uses a variable the controller didn't pass to the view.

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.

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.

DecryptException: The payload is invalid / The MAC is invalidLaravel

Laravel: Illuminate\Contracts\Encryption\DecryptException: The payload is invalid. / The MAC is invalid.

Laravel couldn't decrypt a cookie, session or encrypted value — the `APP_KEY` changed or the data was corrupted.

Property [x] does not exist on this collection instanceLaravel

Laravel: Exception: Property [name] does not exist on this collection instance.

You treated a Collection (many results) as a single model.

TypeError: Argument #1 must be of type X, Y givenLaravel

Laravel/PHP: TypeError: App\Services\Mailer::send(): Argument #1 ($user) must be of type App\Models\User, null given

A function received a value of the wrong type — often `null` where an object was required.

No scheduled commands are ready to runLaravel

Laravel scheduler: INFO No scheduled commands are ready to run. (tasks never execute)

`schedule:run` is executing but finds nothing due — or the cron entry that triggers it isn't set up.

Two steps away (32)

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.

No application encryption keyPHP

Laravel: No application encryption key has been specified.

Laravel’s APP_KEY is missing, so it can’t encrypt sessions and cookies.

419 Page ExpiredPHP

Laravel: 419 Page Expired (CSRF token mismatch)

Laravel rejected a POST because the CSRF token was missing, expired or didn’t match the session.

Laravel storagePHP

Laravel: The stream or file "storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied

The web server can’t write to Laravel’s storage or bootstrap/cache directories.

Vite manifest not foundPHP

Laravel: Vite manifest not found at: public/build/manifest.json

Laravel’s @vite directive can’t find the compiled asset manifest because assets weren’t built.

This does not seem to be a WordPress installationWordPress

WP-CLI: Error: This does not seem to be a WordPress installation. Pass --path=`path/to/wordpress` or run `wp core download`

WP-CLI couldn’t find WordPress in the current directory (or the --path given).

429 Too Many Requests (Laravel throttle)Laravel

Laravel: Illuminate\Http\Exceptions\ThrottleRequestsException: Too Many Attempts. / 429 Too Many Requests

Laravel's rate limiter blocked the client for exceeding the allowed requests per minute.

Sanctum: 401 UnauthenticatedLaravel

Laravel Sanctum: {"message":"Unauthenticated."} 401 on API / SPA requests

A request to a `auth:sanctum` route had no valid token or session, so Laravel returned 401.

422 Unprocessable Entity: The given data was invalidLaravel

Laravel: {"message":"The given data was invalid.","errors":{"email":["The email field is required."]}} (422)

Request validation failed, so Laravel returned HTTP 422 with the field errors.

Undefined array keyPHP

Warning: Undefined array key / Undefined index

Your code reads an array key that doesn’t exist — common with `$_GET`, `$_POST` and decoded JSON.

Array offset on nullPHP

Warning: Trying to access array offset on value of type null

Code used `$x['key']` where `$x` is null — usually a lookup or function that returned nothing.

Unable to locate a class or view for componentLaravel

Laravel: InvalidArgumentException: Unable to locate a class or view for component [alert].

A `` Blade tag has no matching class or anonymous component view.

InvalidArgumentException: View [x] not foundLaravel

Laravel: InvalidArgumentException: View [posts.index] not found.

Laravel can't find the Blade file for the view name you returned.

Storage files 404: public/storage symlink missingLaravel

Laravel: 404 for /storage/file.jpg — symlink(): No such file or directory / The [public/storage] link already exists

Uploaded files stored in `storage/app/public` aren't reachable because the `public/storage` symlink doesn't exist or points to th…

Laravel: Expected response code 250 but got 550Email / SMTP

Laravel: Expected response code "250" but got code "550", with message "550 5.7.1 Relaying denied"

Laravel connected and authenticated but the SMTP server rejected the message at the RCPT TO / MAIL FROM / DATA step with the code…

Class "App\Models\X" not foundLaravel

Laravel: Error: Class "App\Models\Post" not found

PHP can't find the class you referenced — a missing import, wrong namespace or file name, or a stale autoloader.

BadMethodCallException: Call to undefined methodLaravel

Laravel: BadMethodCallException: Call to undefined method App\Models\Post::whereTitle() / Illuminate\Database\Eloquent\Builder::foo()

You called a method the model, builder or collection doesn't have.

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).

Session store not set on requestLaravel

Laravel: RuntimeException: Session store not set on request

Code used `session()` or `$request->session()` in a route/middleware group that doesn't run the session middleware.

Unsupported cipher or incorrect key lengthLaravel

Laravel: RuntimeException: Unsupported cipher or incorrect key length. Supported ciphers are: aes-128-cbc, aes-256-cbc, aes-128-gcm, aes-256-gcm

`APP_KEY` is missing, malformed or empty, or `config/app.php` cipher doesn't match the key length.

Token has expired (tymon/jwt-auth)Laravel

Laravel JWT: Tymon\JWTAuth\Exceptions\TokenExpiredException: Token has expired / The token could not be parsed from the request

A JWT sent by the client is expired, invalid or absent, so `jwt-auth` rejects the request.

MassAssignmentExceptionLaravel

Laravel: Illuminate\Database\Eloquent\MassAssignmentException: Add [x] to fillable property to allow mass assignment

You passed an array to create()/update()/fill() containing a field that isn’t in the model’s $fillable list.

No query results for modelLaravel

Laravel: Illuminate\Database\Eloquent\ModelNotFoundException: No query results for model [App\Models\Post] 5

`findOrFail`, `firstOrFail` or route-model binding couldn't find a record, so Laravel returns a 404.

ModelNotFoundException in queued jobLaravel

Laravel Queue: Illuminate\Queue\SerializesModels: No query results for model [App\Models\Order] 42 (job failed)

A queued job serialised a model by ID, but the record was deleted before the worker ran it.

TypeErrorPHP

Fatal error: Uncaught TypeError: foo(): Argument #1 ($x) must be of type int, string given

A function received a value of the wrong type for a typed parameter.

Array to string conversionPHP

Warning: Array to string conversion

An array was used where a string is expected — echoing it, concatenating it, or passing it to a string function.

Cannot use object as arrayPHP

Fatal error: Uncaught Error: Cannot use object of type stdClass as array

Code used array syntax (`$x['key']`) on an object.

Missed scheduleWordPress

WordPress: Missed schedule — scheduled posts not publishing (WP-Cron not running)

WP-Cron didn’t fire at the scheduled time, so scheduled posts and tasks (backups, emails, WooCommerce jobs) are late.

Maximum execution time of 30 seconds exceededLaravel

Laravel: Symfony\Component\ErrorHandler\Error\FatalError: Maximum execution time of 30 seconds exceeded

A web request ran longer than PHP's `max_execution_time` and was killed.

MaxAttemptsExceededException (queue job)Laravel

Laravel Queue: Illuminate\Queue\MaxAttemptsExceededException: App\Jobs\SendReport has been attempted too many times or run too long

A queued job failed repeatedly or ran past its timeout, so it was marked failed.