NeoZeroSeer

Symfony\Component\Routing\Exception\RouteNotFoundException: Route [newsletter] not defined.

laravel Icon

Symfony\Component\Routing\Exception\RouteNotFoundException

Route [newsletter] not defined.

An unhandled exception occurred on line 429
426
            return $this->toRoute($route, $parameters, $absolute);
427
        }
428
429
        throw new RouteNotFoundException("Route [{$name}] not defined.");
430
    }

Solution

I changed in the form route('') to url('')            
Apr 09, 2021 Anyone

0 replies


Install the browser extension

Found this solution helpful? Try our extension for quick solutions to your Laravel errors.

Chrome logo Add to Chrome - It's free