- Posts: 162
- Thank you received: 14
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Edit Theme Crash
- teracomp
- Topic Author
- Offline
- Elite Member
Less
More
5 months 4 weeks ago #251636
by teracomp
Dave Phillips
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)
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
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 162
- Thank you received: 14
5 months 3 weeks ago #251689
by teracomp
Dave Phillips
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!
Please help!
Dave Phillips
Attachments:
Please Log in to join the conversation.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11660
- Thank you received: 2742
5 months 3 weeks ago #251691
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
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
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 162
- Thank you received: 14
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11660
- Thank you received: 2742
5 months 3 weeks ago #251693
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
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
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 162
- Thank you received: 14
5 months 3 weeks ago #251696
by teracomp
Dave Phillips
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.
- NandoK
- Offline
- Banned
Less
More
- Posts: 1
- Thank you received: 0
3 months 2 weeks ago - 3 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
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: 3 months 2 weeks ago by NandoK.
Please Log in to join the conversation.
- tpartner
- Away
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3595
3 months 2 weeks ago #254232
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
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.