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

etelford's avatar

Laravel 4.3 LoginRequest error

I'm getting the following error when attempting to authenticate using the new Authentication classes in 4.3. This was working last night, but this morning seems to be broken.

When I submit my login, whether the password is correct or not, I get the following error:

Method MyApp\Http\Requests\Auth\LoginRequest::messages() does not exist

I can't seem to track down what's wrong.

Any thoughts?

0 likes
6 replies
JeffreyWay's avatar

Have you done a composer update lately. Taylor recently pushed a commit that added support for custom validation messages.

etelford's avatar

I just did it again and I got this:

{"error":{"type":"ReflectionException","message":"Class path.views does not exist","file":"\/home\/vagrant\/Sites\/myapp\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Container.php","line":586}}{"error":{"type":"ReflectionException","message":"Class path.views does not exist","file":"\/home\/vagrant\/Sites\/myapp\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Container.php","line":586}}

I also just got the same error installing a new instance of Laravel 4.3 use the dev-develop branch.

Please or to participate in this conversation.