Support the ongoing development of Laravel.io →
Authentication Requests Installation

Whoops, looks like something went wrong.

Page auth/register: 1/1 ReflectionException in Route.php line 152: Function () does not exist

File routes.php // Registration routes... Route::get('auth/register', ["as" => "register", "uses", 'Auth\AuthController@getRegister']); Route::post('auth/register', 'Auth\AuthController@postRegister');

Something went wrong but what? (here I m a niewbie ::)

http://manudahmen.be/blocnotes2/public/index.php/auth/register

Last updated 3 years ago.
0

You have a typo in your declaration of the get() Route, the comma after "uses" should be a => :)

Right now it looks for an empty string as a function because there is a "uses" in the array but no corresponding value.

0

Sign in to participate in this thread!

PHPverse

Your banner here too?

mdahmen mdahmen Joined 1 Aug 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.