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/255
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": "255"
}
Database Queries
mysql
(720.13 ms)
SELECT * FROM `mafatih` , `visit` WHERE `type` = 'mafatih' and `item_id`=`mafatihId` and `createdate` = '2024-12-23' and visit_count>100 order by visit_count desc limit 0 , 12
mysql
(20.66 ms)
select * from `mafatih` where `mafatihId` = 996 limit 1
mysql
(4.91 ms)
select * from `visit` where `createdate` = '2024-12-23' and `item_id` = '255' and `type` = 'sound' and `language` = 1
mysql
(1.9 ms)
update `visit` set `visit_count` = 39, `visit`.`updated_at` = '2024-12-23 10:54:45' where `createdate` = '2024-12-23' and `item_id` = '255' and `type` = 'sound' and `language` = 1
mysql
(1.68 ms)
select * from `sound_item` where `id` = '255' limit 1
mysql
(6.67 ms)
select * from `sound_files` where `itemid` = '255' and `special` = 0 order by `order` desc limit 1