View Issue Details

This bug affects 1 person(s).
 0
IDProjectCategoryView StatusLast Update
19787Bug reportsOtherpublic2024-10-03 09:21
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 heat0
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

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2024-10-03 09:21 2BITS_PL New Issue