View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
19731 | Bug reports | RemoteControl | public | 2024-09-04 12:16 | 2024-11-19 18:14 |
Reporter | Ullrich | Assigned To | c_schmitz | ||
Priority | none | Severity | crash | ||
Status | closed | Resolution | fixed | ||
Product Version | 6.6.x | ||||
Summary | 19731: null is not a countable type in php 8 | ||||
Description | If, in below function $query is null, this causes an error in php 8.0.0! File: ParticipantAttributeName.php public function editParticipantAttributeValue($data)
For reference: | ||||
Steps To Reproduce | I tried to update a user in the cpdb with an extended Remote Control. If I change: if (count($query) == 0) { to if (is_null($query) ||count($query) == 0) { everything works as expected. | ||||
Tags | No tags attached. | ||||
Bug heat | 2 | ||||
Complete LimeSurvey version number (& build) | 6.6.2+240827 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | MySql | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | 8.3.6 | ||||
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=36532 |
|
Thank you! |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2024-09-04 12:16 | Ullrich | New Issue | |
2024-09-04 14:09 | c_schmitz | Assigned To | => c_schmitz |
2024-09-04 14:09 | c_schmitz | Status | new => assigned |
2024-09-04 14:15 | c_schmitz | Changeset attached | => LimeSurvey master b9bdf19e |
2024-09-04 14:15 | c_schmitz | Note Added: 80896 | |
2024-09-04 14:15 | c_schmitz | Resolution | open => fixed |
2024-09-04 14:15 | c_schmitz | Bug heat | 0 => 2 |
2024-09-04 14:15 | c_schmitz | Status | assigned => resolved |
2024-09-04 14:15 | c_schmitz | Note Added: 80897 | |
2024-11-19 18:14 | c_schmitz | Status | resolved => closed |