titan icon indicating copy to clipboard operation
titan copied to clipboard

Undefined variable: player_settings (View: /var/www/laravel-livestream-nginx/resources/views/admin/video_records/player_settings/create_edit.blade.php)

Open bikash-s-bhandari opened this issue 4 years ago • 1 comments

There is no player_settings variables pass from the controller to create_edit.blade. is this app incomplete??

bikash-s-bhandari avatar Jan 05 '22 04:01 bikash-s-bhandari

Hi @bikash-s-bhandari Is the video_records/player_settings that you have added? This is not part of the core package?

It should be fine? Usually it passes a variable $item The latest project is this link - however the current repository should still be fine to use. https://github.com/bpocallaghan/titan-starter-website

Do you mind sharing your routes and controller method. The edit (auto load from db) has a specific rule to name the variables when working with 2 words. function edit(PlayerSetting $player_settings). You can just double check if the variable has data and if passed to the view?

I hope that helps, else please shout if it did not do the trick

bpocallaghan avatar Jan 05 '22 12:01 bpocallaghan