Welcome to the LimeSurvey Community Forum

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

Error in file Export_helper.php at Get size of integer part

More
6 years 3 months ago #162031 by tomzt
My team found error in file Export_helper.php at Get size of integer part function
Line 2140

Old code is
$maxIntegerLen=max([$integerMaxLen,$integerMinLen]);

New code after debug mode and correct
$maxIntegerLen=max(array($integerMaxLen, $integerMinLen));
The topic has been locked.
  • ollehar
  • ollehar's Avatar
  • Offline
  • LimeSurvey GmbH Employee
  • LimeSurvey GmbH Employee
More
6 years 3 months ago #162033 by ollehar
In which version of LS did you find this error?
The topic has been locked.
  • ollehar
  • ollehar's Avatar
  • Offline
  • LimeSurvey GmbH Employee
  • LimeSurvey GmbH Employee
More
6 years 3 months ago #162034 by ollehar
If you found it in LS 3.0.0, please note that this version requires PHP 5.5.9 at least (which supports short-hand notation for arrays).
The topic has been locked.
More
6 years 3 months ago #162041 by tomzt
Sorry for missing Version is 2.72.4+171110
The topic has been locked.
  • ollehar
  • ollehar's Avatar
  • Offline
  • LimeSurvey GmbH Employee
  • LimeSurvey GmbH Employee
More
6 years 3 months ago #162052 by ollehar
OK, sorry to say we don't fix bugs in 2.7x anymore, since it has been replaced by 3.0.0. But in your case the fix is easy: Update PHP to 5.5.9 or later.
The following user(s) said Thank You: tomzt
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose