View Issue Details

This bug affects 1 person(s).
 0
IDProjectCategoryView StatusLast Update
20070Bug reportsOtherpublic2025-04-22 17:26
Reporterefornasier Assigned To 
PrioritynoneSeveritypartial_block 
Status newResolutionopen 
Product Version6.6.x 
Summary20070: Enabling custom twig extension goes to 500 if HelloWorld extension is present
Description

When enabling in config the custom Twig extension ( 'use_custom_twig_extensions'=>true ), if the HelloWorld_Twig_Extension (that comes by default in LS package) is present, che server will crash outside the admin area.

This is because it can't find the class Twig_Extension extended by HelloWorld_Twig_Extension.

A solution is to change that class with LS_Twig_Extension.

Steps To Reproduce

Steps to reproduce

Install LS
Set 'use_custom_twig_extensions'=>true in config.php
Browse a survey

Expected result

Everything goes as usual

Actual result

Server crashes with 500 internal server error

TagsNo tags attached.
Bug heat0
Complete LimeSurvey version number (& build)6.12.0+250317
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionMariaDB 10.5.28
Server OS (if known)Debian 11
Webserver software & version (if known)Apache 2.4
PHP VersionPHP 8.1 FPM

Users monitoring this issue

There are no users monitoring this issue.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2025-04-22 17:26 efornasier New Issue