View Issue Details

This bug affects 1 person(s).
 0
IDProjectCategoryView StatusLast Update
19453Bug reportsRemoteControlpublic2024-03-04 11:18
Reporterolivierstern Assigned To 
PrioritynoneSeverityminor 
Status newResolutionopen 
Product Version6.4.x 
Summary19453: error when $graph is set to 1 in export_statistics method
Description

When $graph is set to 1, I get this error
<b>Warning</b>: Trying to access array offset on value of type null in <b>/[...]/vendor/weberhofer/jsonrpcphp/src/org/jsonrpcphp/JsonRPCClient.php</b> on line <b>192</b><br />
<br />

Steps To Reproduce

$odJSONRPCClient = new \org\jsonrpcphp\JsonRPCClient(_CONF_SURVEY_APIURL);
$sessionKey = $odJSONRPCClient->get_session_key(_CONF_SURVEYUSERNAME, _CONF_SURVEYPASSWORD);
$stats = $odJSONRPCClient->export_statistics($sessionKey, $survey_id, 'pdf', null, 1);
echo base64_decode($stats);

TagsNo tags attached.
Bug heat0
Complete LimeSurvey version number (& build)LimeSurvey Community Edition Version 6.4.10+240228
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL CE 8.0.35
Server OS (if known)
Webserver software & version (if known)
PHP Version8.2.12

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-03-04 11:18 olivierstern New Issue