Internal Server Error
ErrorException
Attempt to read property "sound" on null
app/Http/Controllers/Frontend/LectureController.php :172
vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php :46
vendor/laravel/framework/src/Illuminate/Routing/Route.php :260
vendor/laravel/framework/src/Illuminate/Routing/Route.php :206
vendor/laravel/framework/src/Illuminate/Routing/Router.php :808
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :144
app/Http/Middleware/ShareDataInFrontend.php :20
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :183
vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php :50
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 :200
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :144
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 :57
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 :175
vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php :144
vendor/laravel/framework/src/Illuminate/Foundation/Application.php :1188
public/index.php :17
Request
GET /farsi/sound/newview/144945
Headers
host
new.erfan.ir
accept
*/*
x-forwarded-for
172.16.2.1
x-forwarded-host
new.erfan.ir
x-forwarded-port
443
x-forwarded-proto
https
x-forwarded-server
540e8ba1775a
x-real-ip
172.16.2.1
accept-encoding
gzip
Body
{
    "ismobile": null
}
Application
Routing
controller
App\Http\Controllers\Frontend\LectureController@show
middleware
web, App\Http\Middleware\ShareDataInFrontend
Routing Parameters
{
    "id": "144945"
}
Database Queries
mysql
SELECT * FROM `mafatih` , `visit` WHERE  `type` = 'mafatih' and `item_id`=`mafatihId` and `createdate` = '2024-11-04' and visit_count>100 order by visit_count desc limit 0 , 12
mysql
select * from `mafatih` where `mafatihId` = 218 limit 1
mysql
select * from `visit` where `createdate` = '2024-11-04' and `item_id` = '144945' and `type` = 'sound' and `language` = 1
mysql
update `visit` set `visit_count` = 35, `visit`.`updated_at` = '2024-11-04 22:39:35' where `createdate` = '2024-11-04' and `item_id` = '144945' and `type` = 'sound' and `language` = 1
mysql
select * from `sound_item` where `id` = '144945' limit 1
mysql
select * from `sound_files` where `itemid` = '144945' and `special` = 0 order by `order` desc limit 1