Ich habe ein Routenproblem, wenn ich Php Artisan Serve betreibePhp

PHP-Programmierer chatten hier
Anonymous
 Ich habe ein Routenproblem, wenn ich Php Artisan Serve betreibe

Post by Anonymous »

Wenn ich Php Artisan serviert, erhalte ich diese Nachricht: < /p>

Code: Select all

UnexpectedValueException>Invalid route action: [App\Http\Controllers\App\Http\Livewire\HomeComponent].
at C:\xampp\htdocs\laravel8ecommerce\vendor\laravel\framework\src\Illuminate\Routing\RouteAction.php:92
88▕      */
89▕     protected static function makeInvokable($action)
90▕     {
91▕         if (! method_exists($action, '__invoke')) {
➜  92▕             throw new UnexpectedValueException("Invalid route action: [{$action}].");
93▕         }
94▕
95▕         return $action.'@__invoke';
96▕     }

`App\Http\Controllers\App\Http\Livewire\HomeComponent` was not found: Controller class `App\Http\Controllers\App\Http\Livewire\HomeComponent` for one of your routes was not found. Are you sure this controller exists and is imported correctly?

1   C:\xampp\htdocs\laravel8ecommerce\vendor\laravel\framework\src\Illuminate\Routing\RouteAction.php:47
Illuminate\Routing\RouteAction::makeInvokable()

2   C:\xampp\htdocs\laravel8ecommerce\vendor\laravel\framework\src\Illuminate\Routing\Route.php:191
Illuminate\Routing\RouteAction::parse()

< /code>
Hier ist mein Code: web.php < /p>

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post