View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
19740 | Bug reports | Response browsing | public | 2024-09-09 11:53 | 2024-09-09 11:53 |
Reporter | tbart | Assigned To | |||
Priority | none | Severity | minor | ||
Status | new | Resolution | open | ||
Product Version | 6.4.x | ||||
Summary | 19740: PHP deprecation warning (Passing null to parameter #2 deprecated) when viewing answer details | ||||
Description | When I set debug=2 in config.php, I get a deprecation warning when calling /responses/view?surveyId=123456&id=1 : explode(): Passing null to parameter #2 ($string) of type string is deprecated This should be explicitly checked for. I am also unable to navigate to "statistics" on the left navigation. This might be related. This happens on 6.4.x, but I don't see any changes to this code location on 6.6.x, so current master seems to be affected as well. | ||||
Steps To Reproduce | Steps to reproduceSet debug=2 in config.php Expected resultGet answer details. Actual resultGet deprecation warning. | ||||
Tags | No tags attached. | ||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 6.4.11+240304 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | irrelevant | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | 8.1.29 | ||||