Support the ongoing development of Laravel.io →
Configuration Database

When doing the login with the method Auth::attempt() I get this error:

ErrorException
htmlspecialchars(): Invalid multibyte sequence in argument

This was because I had the database down, but the problem is... shouldn't Laravel warn me about the DB before giving this error? because as soon as I started the DB, this worked.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

punchi punchi Joined 15 Sep 2014

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.