I had the same problem. When livewire:upgrade moved my files from app/Http/Livewire to app/Livewire, they had all the wrong permissions. Changing the permissions and running computer dump-autoload fixed the issue for me.
Jul 29, 2023
3
Level 15
Invalid Route Action :: Livewire 3
Hello people,
I've just recently upgraded my project to Livewire 3, and now I'm hitting an 'Invalid Route Action' exception for my Full Page Components.
It's a relatively simple project, and I really have no idea what else to check. I'm sure it'll be something dumb.
This is the route:
use App\Livewire\Public\Home;
use Illuminate\Support\Facades\Route;
Route::get('/', Home::class);
and this is Home.php
class Home extends Component
{
public function render(): View|Application|Factory|ApplicationAlias
{
return view('livewire.public.home');
}
}
Please or to participate in this conversation.