I got this error while initially setting up a new FreePBX  installation. I restarted the server to no avail. I found this via  Google. And it fixed the login issue.

fwconsole ma upgrade dashboard

fwconsole reload

Source