New: Learn Statamic on Laracasts!

We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

Dashboard errors, but all other CP pages work

Kelly March 14, 2020 by Kelly

Any ideas what might cause this error? You see it when you login and it is the dashboard that has the error. If you know the URL, you can bypass the dashboard and go to for example mydomain.com/cp/pages. It is only the dashboard that will not display.

Error Message reads:

Whoops, looks like something went wrong.  1/1
FatalErrorException in DashboardController.php line 0:
Method Illuminate\View\View::__toString() must not throw an exception, caught
ErrorException: htmlentities() expects parameter 1 to be string, array given 
(View: /home/forge/yourdomain.com/statamic/bundles/Form/resources/views/widget.blade.php)
in DashboardController.php line 0```

I've updated to the latest release of Statamic.

Answered by Erin Dalzell!
>>>>>>> Answered <<<<<<<
4 Replies
2 Followers