View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
19787Bug reportsOtherpublic2025-11-21 23:30
Reporter2BITS_PL Assigned Toc_schmitz  
PrioritynoneSeverityminor 
Status closedResolutionunable to reproduce 
Product Version6.6.x 
Summary19787: PHP 8.1 Deprecated: strcasecmp() Passing null to parameter of type string
Description

This error is returned after enabling debug mode (debug=1) and navigating to the page admin/checkintegrity.

The error is related to the file: \vendor\yiisoft\yii\framework\db\schema\mssql\CMssqlSchema.php on line 316 The data passed to the strcasecmp() function contains NULL, but after converting it to a string, the mechanism works. In the method findPrimaryKey($table), line 214, $primary = NULL.

Unfortunately, this is a Yii library, so hardcoded fixes are probably not an option.

Steps To Reproduce

set PHP 8.1
enable debug=1
open page: admin/checkintegrity

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)6.6.3
I will donate to the project if issue is resolvedNo
Browser
Database type & versionSQL Server 2019
Server OS (if known)
Webserver software & version (if known)
PHP Versionv8.1.29 NTS x64

Users monitoring this issue

There are no users monitoring this issue.

Activities

tibor.pacalat

tibor.pacalat

2025-02-03 14:19

administrator   ~81951

I can not reproduce this issue using the latest version of Limesurvey 6.10.2. @DenisChenu can you reproduce by any chance?

c_schmitz

c_schmitz

2025-11-21 23:30

administrator   ~83912

Hello 2BITS_PL,
I checked this with the latest version on MSSQL and could not reproduce, so this is most likely fixed for good.
Therefore, I am closing this issue. If you still can reproduce the issue using the latest version, please feel free to re-open the issue.
Thank you!

c_schmitz

Issue History

Date Modified Username Field Change
2024-10-03 09:21 2BITS_PL New Issue
2025-02-03 14:19 tibor.pacalat Note Added: 81951
2025-02-03 14:19 tibor.pacalat Bug heat 0 => 2
2025-11-21 23:30 c_schmitz Assigned To => c_schmitz
2025-11-21 23:30 c_schmitz Status new => closed
2025-11-21 23:30 c_schmitz Resolution open => unable to reproduce
2025-11-21 23:30 c_schmitz Note Added: 83912
2025-11-21 23:30 c_schmitz Bug heat 2 => 4