LimeSurvey was up and running just fine until a couple of minutes ago. I was working on a theme via the Admin panel. I had just edited some styles in "custom.css" and then clicked on "theme.css" in the menu. That's when I got a 500 Server error. Ever since then, all attempts to get into the Theme section (even the page that lists the available themes) is throwing the 500 error. All other parts of the admin panel (as well as the frontend) still work fine. The error reads:
Code:
Call to a member function xpath() on null
I'm also logged in via SSH and have edited the config.xml file of the theme there, plus added "force_xmlsettings_for_survey_rendering" to the config.php a while before. However, none of these changes were immediately before I started getting the 500 error.
I'm trying to figure out what is causing the error. Any hints / pointers in the right direction? Anything I could try?
I found the issue. In the theme that I was working on, I introduced an error in the config.xml. I doubled the "metadata" end tag. Lesson learned: an error in a theme's config.xml can bring down the whole theme backend.
You can report it at feature request, maybe we must test if xml is valid
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.