View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
19800Bug reportsSurvey takingpublic2024-10-22 08:51
Reportertibor.pacalat Assigned ToDenisChenu  
PrioritynoneSeverityminor 
Status in code reviewResolutionopen 
Product Version6.6.x 
Summary19800: Error when selecting single choice answer in secondary language with debug=2
Description

I am getting an error when selecting single choice answer in secondary language with debug=2.

strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated

File: /var/www/ls-ce-6x/public/application/helpers/replacements_helper.php(168)
Line: 168 if (strpos($line, "{") === false) {

See screenshot.

Steps To Reproduce

Steps to reproduce

Set debug=2 in config.
Create a survey with 2 languages and add single choice question with 2 options.
Choose survey in secondary language and try to submit your selected answer.

Expected result

(Write here what you expected to happen)

Actual result

(Write here what happened instead)

TagsNo tags attached.
Attached Files
Bug heat2
Complete LimeSurvey version number (& build)6.6.6+241002
I will donate to the project if issue is resolvedNo
Browser
Database type & version.
Server OS (if known)
Webserver software & version (if known)
PHP Version.

Users monitoring this issue

There are no users monitoring this issue.

Issue History

Date Modified Username Field Change
2024-10-10 16:53 tibor.pacalat New Issue
2024-10-10 16:53 tibor.pacalat File Added: Screenshot 2024-10-10 at 16.34.48.png
2024-10-16 18:03 tibor.pacalat Assigned To => gabrieljenik
2024-10-16 18:03 tibor.pacalat Status new => assigned
2024-10-21 14:37 gabrieljenik Assigned To gabrieljenik => DenisChenu
2024-10-21 14:37 gabrieljenik Status assigned => ready for code review
2024-10-21 14:37 gabrieljenik Note Added: 81277
2024-10-21 14:37 gabrieljenik Bug heat 0 => 2
2024-10-22 08:51 DenisChenu Status ready for code review => in code review