ErrorException
ErrorException
Attempt to read property "sound" on null
GET new.erfan.ir
PHP 8.2.13 — Laravel 11.16.0
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/12630
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": "12630"
}
Database Queries
mysql
(740.41 ms)
SELECT * FROM `mafatih` , `visit` WHERE `type` = 'mafatih' and `item_id`=`mafatihId` and `createdate` = '2024-11-01' and visit_count>100 order by visit_count desc limit 0 , 12
mysql
(4.28 ms)
select * from `mafatih` where `mafatihId` = 19 limit 1
mysql
(3.61 ms)
select * from `visit` where `createdate` = '2024-11-01' and `item_id` = '12630' and `type` = 'sound' and `language` = 1
mysql
(8.55 ms)
insert into `visit` (`createdate`, `item_id`, `visit_count`, `type`, `language`) values ('2024-11-01', '12630', 1, 'sound', 1)
mysql
(8.48 ms)
select * from `sound_item` where `id` = '12630' limit 1
mysql
(22.79 ms)
select * from `sound_files` where `itemid` = '12630' and `special` = 0 order by `order` desc limit 1