Did you commit your composer.lock file and run composer install on the server? Sounds like its missing part of livewire
Aug 30, 2023
6
Level 1
Getting Method Illuminate\View\View::layout does not exist.
return view("myppath.to.childview") ->layout('mypath.to.parentview') ->with([ 'type' => $type, 'inputParams' => $inputParams, 'pageData' => $pageData, ]);
This is simple index() function in every controller of my module. All controller works fine in local ubuntu setup but I have hosted it on aws ubuntu server to test my project on live. But its giving me above error Getting Method Illuminate\View\View::layout does not exist. Any help on this? New to laravel and livewire
Level 102
2 likes
Please or to participate in this conversation.