Illuminate\Database\QueryException
QueryException
SQLSTATE[HY000]: General error: 1364 Field 'order_id' doesn't have a default value (Connection: mysql, SQL: insert into `carts` (`session_id`, `updated_at`, `created_at`) values (3tiDOiHJjpyULJio3bf5OaycnVzZS1gZ9gHcXhQ6, 2025-01-13 19:31:38, 2025-01-13 19:31:38))
GET www.charmscakes.com
PHP 8.2.26 — Laravel 11.26.0
vendor/laravel/framework/src/Illuminate/Database/Connection.php
:825
vendor/laravel/framework/src/Illuminate/Database/Connection.php
:779
vendor/laravel/framework/src/Illuminate/Database/MySqlConnection.php
:42
vendor/laravel/framework/src/Illuminate/Database/Query/Processors/MySqlProcessor.php
:35
vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php
:3796
vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php
:2038
vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php
:1358
vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php
:1323
vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php
:1162
app/Http/Controllers/HomeController.php
:862
vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php
:46
vendor/laravel/framework/src/Illuminate/Routing/Route.php
:262
vendor/laravel/framework/src/Illuminate/Routing/Route.php
:208
vendor/laravel/framework/src/Illuminate/Routing/Router.php
:808
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:144
vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php
:51
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:183
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php
:88
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:183
vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php
:49
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:183
vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
:121
vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
:64
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:183
vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php
:37
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:183
vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php
:75
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:183
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:119
vendor/laravel/framework/src/Illuminate/Routing/Router.php
:807
vendor/laravel/framework/src/Illuminate/Routing/Router.php
:786
vendor/laravel/framework/src/Illuminate/Routing/Router.php
:750
vendor/laravel/framework/src/Illuminate/Routing/Router.php
:739
vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
:201
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:144
vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php
:19
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:183
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
:21
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php
:31
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:183
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
:21
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php
:51
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:183
vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php
:27
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:183
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php
:110
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:183
vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php
:49
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:183
vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php
:58
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:183
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php
:22
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:183
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:119
vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
:176
vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
:145
vendor/laravel/framework/src/Illuminate/Foundation/Application.php
:1188
public/index.php
:17
Request
GET
/book/3373
Headers
accept
*/*
accept-encoding
identity
content-type
application/x-www-form-urlencoded
content-length
0
host
www.charmscakes.com
user-agent
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
x-forwarded-for
148.135.83.86
x-forwarded-host
rt.http3.lol
x-forwarded-proto
https
x-https
on
Body
No body data
Application
Routing
controller
App\Http\Controllers\HomeController@book
middleware
web
Routing Parameters
{
"product_id": "3373"
}
Database Queries
mysql
(3.7 ms)
select count(*) as aggregate from `cities` where `cities`.`regDesc` = '13'
mysql
(1.38 ms)
select * from `cities` where `cities`.`regDesc` = '13' order by `cities`.`name` asc limit 1000 offset 0
mysql
(0.47 ms)
select * from `products` where `id` = '3373' limit 1
mysql
(173.02 ms)
select * from `carts` where `session_id` = '3tiDOiHJjpyULJio3bf5OaycnVzZS1gZ9gHcXhQ6' limit 1