Error
Error
Call to a member function getPath() on null
GET new.erfan.ir
PHP 8.2.13 — Laravel 11.16.0
app/Http/Controllers/Frontend/LectureController.php
:194
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/15057
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": "15057"
}
Database Queries
mysql
(809.25 ms)
SELECT * FROM `mafatih` , `visit` WHERE `type` = 'mafatih' and `item_id`=`mafatihId` and `createdate` = '2024-12-27' and visit_count>100 order by visit_count desc limit 0 , 12
mysql
(11.85 ms)
select * from `mafatih` where `mafatihId` = 218 limit 1
mysql
(2.17 ms)
select * from `visit` where `createdate` = '2024-12-27' and `item_id` = '15057' and `type` = 'sound' and `language` = 1
mysql
(1.77 ms)
insert into `visit` (`createdate`, `item_id`, `visit_count`, `type`, `language`) values ('2024-12-27', '15057', 1, 'sound', 1)
mysql
(2.73 ms)
select * from `sound_item` where `id` = '15057' limit 1
mysql
(17.43 ms)
select * from `sound_files` where `itemid` = '15057' and `special` = 0 order by `order` desc limit 1
mysql
(3.35 ms)
select * from `sound` where `sound`.`soundid` = 588 limit 1
mysql
(37.78 ms)
select * from `sound_files` where `itemid` = '15057' and `special` = 1 order by `order` desc
mysql
(13.44 ms)
select * from `sound_files` where `itemid` = '15057' and `special` = 2 order by `order` desc
mysql
(2.55 ms)
select * from `files` where `fileId` = 144162 limit 1
mysql
(2.54 ms)
select * from `files` where `fileId` = 144164 limit 1
mysql
(2.31 ms)
select * from `files` where `fileId` = 0 limit 1
mysql
(4.65 ms)
select * from `files` where `fileId` = 0 limit 1