Fatal error: Call to member function non-object

Permalink
Anybody know what can be done to fix this error? Site was working last night. Obviously, something changed, but I cannot figure out what.

Trying to load home page:
Fatal error: Call to a member function GetAll() on a non-object in /home/xxxxx/public_html/concrete/models/collection.php on line 367

Trying to load dashboard directly: /dashboard
Fatal error: Call to a member function query() on a non-object in /home/xxxxx/public_html/concrete/models/permissions.php on line 559fata

View Replies:
jkellyremodeling replied on at Permalink Reply
I'm having the same problem. Have you been able to solve the problem yet? I would love to know how to fix it. It's very frustrating.
stevesmileyrgd replied on at Permalink Reply
I'm having the same issue as well! Can anyone tell me anything about this or if it suddenly fixed itself again?

From what I've been able to find out from other sites it's somehow not linking to the database. I've contacted the host to see if there's anything going on on their end as well as I haven't touched the code in two weeks...

Any thoughts or help would be appreciated.

Thanks
jkellyremodeling replied on at Permalink Reply
This problem has been ongoing for me and I have been trying to work around it. It is quite frustrating and disappointing. I contacted support, but they told me I would have to pay to get it checked out. I don't believe that I should have to pay for an error that I don't believe I caused. Please let me know if you figure out a solution. I will, likewise, let you know if I come up with anything.
stevesmileyrgd replied on at Permalink Reply
Hi

It eventually got sorted out.If I remember correctly, I called the hosting company and had them reboot the server which cleared the cache and the database was able to reconnect. The site seems to be working properly at this point...