View Issue Details

This bug affects 1 person(s).
 0
IDProjectCategoryView StatusLast Update
19800Bug reportsSurvey takingpublic2024-10-10 16:53
Reportertibor.pacalat Assigned To 
PrioritynoneSeverityminor 
Status newResolutionopen 
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 heat0
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.

Activities

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