Internal Server Error
Error
Call to a member function getPath() on null
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/14649
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": "14649"
}
Database Queries
mysql
SELECT * FROM `mafatih` , `visit` WHERE  `type` = 'mafatih' and `item_id`=`mafatihId` and `createdate` = '2024-11-23' and visit_count>100 order by visit_count desc limit 0 , 12
mysql
select * from `mafatih` where `mafatihId` = 996 limit 1
mysql
select * from `visit` where `createdate` = '2024-11-23' and `item_id` = '14649' and `type` = 'sound' and `language` = 1
mysql
insert into `visit` (`createdate`, `item_id`, `visit_count`, `type`, `language`) values ('2024-11-23', '14649', 1, 'sound', 1)
mysql
select * from `sound_item` where `id` = '14649' limit 1
mysql
select * from `sound_files` where `itemid` = '14649' and `special` = 0 order by `order` desc limit 1
mysql
select * from `sound` where `sound`.`soundid` = 542 limit 1
mysql
select * from `sound_files` where `itemid` = '14649' and `special` = 1 order by `order` desc
mysql
select * from `sound_files` where `itemid` = '14649' and `special` = 2 order by `order` desc
mysql
select * from `files` where `fileId` = 112817 limit 1
mysql
select * from `files` where `fileId` = 0 limit 1