Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

undeportedmexican's avatar

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');
    }
}
0 likes
3 replies
profner's avatar

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.

1 like
Hawkar's avatar

@profne Dear profner, I am now facing the same problem as you, can you please tell me if you have found any solution for it and how to fix it?

MaHDi-ReZAYi's avatar

please check the namespaces in livewire 3 example: namespace App\Http\Livewire; to namespace App\Livewire;

Please or to participate in this conversation.