Call to a member function getStyleValueList() on null

Permalink
Good Morning. We are having issues with our website: kacdc.com

We updated to a newer version of Concrete5 yesterday and now when we try to login to make additional edits, we get this message: Call to a member function getStyleValueList() on null

I am new to Concrete5, so I don't have much knowledge of the style sheets. I realize that there is an error in getting the style sheets, but how do I even get logged in so we can try to fix it?

Thank you in advance for anyone's help!!!

 
JohntheFish replied on at Permalink Reply
JohntheFish
If you can get directly into the dashboard, clearing the cache may help.
sitename.com/index.php/dashboard

If not, what c5 versions did you update from and to?
What php version?
remarkablyrural replied on at Permalink Reply
We updated from 5.7 something to 8. something...

I can't get into the dashboard, even with the direct link. I still get the same error message.
tallacman replied on at Permalink Reply
tallacman
8.2.1 is your current version
tallacman replied on at Permalink Reply
tallacman
It may be your version of the Fundamental theme:https://www.concrete5.org/marketplace/themes/fundamental/changelog/...
You may need to update your theme.
tallacman replied on at Permalink Reply
tallacman
Looking at the version history for that theme, you need to update to function with version 8+.
mrichmond replied on at Permalink Reply
I am having this same issue. My website functions completely when not logged in, but the "unexpected error" message appears at "../login". I tried the direct link to the dashboard, but it immediately directs me again to the "../login" page with the unexpected error, preventing me from logging in to troubleshoot further.

The exact message on the login page is "An unexpected error occurred. Call to a member function getStyleValueList() on null."

Factors that may have been an issue (things I was doing to the site recently):
- PHP auto upgraded to 7.2 by my host caused the site to break last week. I reverted to version 7.0 (fixed the site), then updated C5 system from 5.6.x (can't recall exact version) to 8.2.1. I am still running PHP 7.0, site worked fine.
- System update seems to have effected the reCaptcha settings (I've been getting form spam since the upgrade). The Active Captcha reverted, so I changed it back from "SecurImage" to "reCaptcha".
- Next time I tried to log in, I received the unexpected error message.

I have two C5 websites with identical setups. Both got broken with the auto PHP upgrade, and both worked again after I reverted back to 7.0. Both still worked after system update to 8.2.1, and both had the SecurImage reCaptcha selected after update. I have no issues with the first one through the PHP revert, the system upgrade and reCaptcha settings (it works now with the "not a robot" interface). I have the same Theme (Stucco) running on the first site with no problems.

My C5 installs were automatic installs by Dreamhost. I have been extremely happy with C5 usability and I've never had to do any "under the hood" work (on code, scripts, etc.). I would not know how to troubleshoot anything on the server just by looking at it. I can, however, follow specific instructions if anyone has any guidance as far as determining what might be going wrong and how to fix it.

My first thought was to check theme compatibility, but since it works on one site but not the other, my second thought was to clear the cache. Without being able to log in, though, I am not sure how to set about doing either of those things.

Thank you for any assistance you may be able to offer!