View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
19787 | Bug reports | Other | public | 2024-10-03 09:21 | 2024-10-03 09:21 |
Reporter | 2BITS_PL | Assigned To | |||
Priority | none | Severity | minor | ||
Status | new | Resolution | open | ||
Product Version | 6.6.x | ||||
Summary | 19787: 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 | ||||
Tags | No tags attached. | ||||
Bug heat | 0 | ||||
Complete LimeSurvey version number (& build) | 6.6.3 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | SQL Server 2019 | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | v8.1.29 NTS x64 | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2024-10-03 09:21 | 2BITS_PL | New Issue |