Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Edit Theme Crash

  • teracomp
  • teracomp's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
1 year 3 weeks ago #251636 by teracomp
Edit Theme Crash was created by teracomp
Please help us help you and fill where relevant:
Your LimeSurvey version: 6.3.1_231023
Own server or LimeSurvey hosting: Own server
Survey theme/template: all themes

When I click "Edit Themes" this is what I get:

500: Internal Server Error Argument 1 passed to Twig\Environment::createTemplate() must be of the type string, null given, called in /home/hgctoo5/public_html/truewiring.com/app/s/application/core/LSETwigViewRenderer.php on line 518

I noticed the error by testing a survey -- no theme is being applied. Yikes!

Please advise

==================
(Write here your question/remark)

Dave Phillips

Please Log in to join the conversation.

  • teracomp
  • teracomp's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
1 year 3 weeks ago #251689 by teracomp
Replied by teracomp on topic Edit Theme Crash
I just updated to 6.3.2 + 231031 in hopes that the error would be fixed. I still have NO ability to Edit Themes and NONE of my active surveys have any of the theme-styling applied. 

Please help!

 

Dave Phillips

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 3 weeks ago #251691 by holch
Replied by holch on topic Edit Theme Crash
I would recommend to create a bug report, as this seems to be a very specific issue.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

  • teracomp
  • teracomp's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
1 year 3 weeks ago - 1 year 3 weeks ago #251692 by teracomp
Replied by teracomp on topic Edit Theme Crash
Where do I submit a bug report?

Dave Phillips
Last edit: 1 year 3 weeks ago by teracomp.

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 3 weeks ago #251693 by holch
Replied by holch on topic Edit Theme Crash
bugs.limesurvey.org (same credentials as for the forum).

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

  • teracomp
  • teracomp's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
1 year 3 weeks ago #251696 by teracomp
Replied by teracomp on topic Edit Theme Crash
Thanks. Bug report submitted. It's been a long while since I reported a bug. Lime Survey is the BEST! Looking forward to being beyond this issue.

Dave Phillips

Please Log in to join the conversation.

More
10 months 2 weeks ago - 10 months 2 weeks ago #254230 by NandoK
Replied by NandoK on topic Edit Theme Crash
i fixed the TemplateManifest.php after i got the same error , if a survey has no description

method --> getDescription

$sDescription = $this->config->metadata->description;

if ($sDescription === null) {
$sDescription = 'no description available';
}

// If wrong Twig in manifest, we don't want to block the whole list rendering
// Note: if no twig statement in the description, twig will just render it as usual
try {
$sDescription = App()->twigRenderer->convertTwigToHtml($sDescription);
} catch (\Exception $e) {


best
regards
Nando
 
Last edit: 10 months 2 weeks ago by NandoK.

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 months 2 weeks ago #254232 by tpartner
Replied by tpartner on topic Edit Theme Crash
@NandoK, please remove the link from your signature.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose