Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

php version 8 and remote control, error in bigdata.php

  • happysocrates
  • happysocrates's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 7 months ago #230163 by happysocrates
Please help us help you and fill where relevant:
Your LimeSurvey version: [see right hand bottom of your LimeSurvey admin screen]
Own server or LimeSurvey hosting:
Survey theme/template:
==================

Hi running limeSurvey on a shared host. Linus based LiteSpeed server, MySQL Version 10.5

LimeSurvey version 5.3.23 release 220705.  Fresh installation on both filesystem and database. 

Using the remote control API. Everything is working without problems on PHP 7.4. However when I change to PHP version 8 or PHP version 8.1, the remotecontrol calls fail. 

I turned on debug level 2 and caught the response from the server and it is pointing to the error:

"BigData::hasStream(): Argument #1 ($result) must be passed by reference, value given" on line 24 of application/libraries/BigData.php(24)

The function array_reduce did change in PHP version 8, so I guess it makes sense. This seems like a bug, however I have never posted a bug report before and wanted to make sure I wasn't doing something stupid.

Has anyone else seen this message? Has anyone has success in running remote control on PHP version 8?

Thanks for your help!

 

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 7 months ago #230164 by tpartner
Please report the bug.

- bugs.limesurvey.org

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

  • happysocrates
  • happysocrates's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 7 months ago #230172 by happysocrates
Replied by happysocrates on topic php version 8 and remote control, error in bigdata.php
Thanks!

Bug report submitted at bugs.limesurvey.org/view.php?id=18247
The following user(s) said Thank You: holch, tpartner

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose