View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
19787Bug reportsOtherpublic2025-02-03 14:19
Reporter2BITS_PL Assigned To 
PrioritynoneSeverityminor 
Status newResolutionopen 
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 heat2
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?

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