Laravel
Internal Server Error

RuntimeException

Failed to serialize job of type [Illuminate\Queue\CallQueuedClosure]: Serialization of 'PDO' is not allowed

LARAVEL 12.34.0
PHP 8.3.8
UNHANDLED
CODE 0
500
GET
https://www.candy-job.com

Exception trace

17 vendor frames
Illuminate\Queue\Queue->createObjectPayload()
vendor/laravel/framework/src/Illuminate/Queue/Queue.php:184
Illuminate\Queue\Queue->createPayloadArray()
vendor/laravel/framework/src/Illuminate/Queue/Queue.php:149
Illuminate\Queue\Queue->createPayload()
vendor/laravel/framework/src/Illuminate/Queue/Queue.php:121
Illuminate\Queue\SyncQueue->executeJob()
vendor/laravel/framework/src/Illuminate/Queue/SyncQueue.php:125
Illuminate\Queue\SyncQueue->push()
vendor/laravel/framework/src/Illuminate/Queue/SyncQueue.php:110
Illuminate\Bus\Dispatcher->pushCommandToQueue()
vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php:246
Illuminate\Bus\Dispatcher->dispatchToQueue()
vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php:230
Illuminate\Bus\Dispatcher->dispatchSync()
vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php:98
Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php:265
Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:36
Illuminate\Container\Util::unwrapIfClosure()
vendor/laravel/framework/src/Illuminate/Container/Util.php:43
Illuminate\Container\BoundMethod::callBoundMethod()
vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:84
Illuminate\Container\BoundMethod::call()
vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:35
Illuminate\Container\Container->call()
vendor/laravel/framework/src/Illuminate/Container/Container.php:836
Illuminate\Foundation\Application->terminate()
vendor/laravel/framework/src/Illuminate/Foundation/Application.php:1452
Illuminate\Foundation\Http\Kernel->terminate()
vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:217
Illuminate\Foundation\Application->handleRequest()
vendor/laravel/framework/src/Illuminate/Foundation/Application.php:1222
public/index.php
public/index.php:20
1516// Bootstrap Laravel and handle the request...17/** @var Application $app */18$app = require_once __DIR__.'/../bootstrap/app.php';1920$app->handleRequest(Request::capture());21

Queries

sqlite
select * from "sessions" where "id" = 'XNmH3o2C06pJoHn2VsGSQtzqwHh0gzbeO7ykVfEu' limit 1
1.15ms
sqlite
select * from "areas"
0.18ms
sqlite
select * from "prefectures" where "prefectures"."area_id" in (1, 2, 3, 4, 5, 6, 7, 8)
0.26ms
sqlite
select * from "shops" order by "created_at" desc limit 4
2.26ms
sqlite
select * from "prefectures" where "prefectures"."id" in (18, 47)
0.16ms
sqlite
select * from "shop_images" where "shop_images"."shop_id" in (2700, 2701, 2702, 2720) order by "order" asc
0.14ms
sqlite
select * from "tags" where "id" in (2, 3, 6, 10, 11, 19)
0.14ms
sqlite
select * from "sessions" where "id" = 'XNmH3o2C06pJoHn2VsGSQtzqwHh0gzbeO7ykVfEu' limit 1
0.16ms
sqlite
insert into "sessions" ("payload", "last_activity", "user_id", "ip_address", "user_agent", "id") values ('YTozOntzOjY6Il90b2tlbiI7czo0MDoiSVFsNFBYWUoyZVQwN2didzE2Tld1ZmNkd3QzbEtBR1g1TkFkQ3l4MCI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MjU6Imh0dHBzOi8vd3d3LmNhbmR5LWpvYi5jb20iO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19', 1767376716, NULL, '216.73.216.129', 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'XNmH3o2C06pJoHn2VsGSQtzqwHh0gzbeO7ykVfEu')
8.15ms

Headers

host
www.candy-job.com
x-real-ip
216.73.216.129
x-sakura-forwarded-for
216.73.216.129
listen-ipaddr
163.43.102.70
accept
*/*
user-agent
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
accept-encoding
gzip, br, zstd, deflate

Body

// No request body

Routing

controller
App\Http\Controllers\TopPageController@index
route name
top
middleware
web

Routing parameters

// No routing parameters