View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
15883Bug reportsInstallationpublic2020-02-21 12:18
ReporterMarkMaldaba Assigned Toollehar  
PrioritynoneSeverityblock 
Status closedResolutionwon't fix 
Product Version4.1.5 
Summary15883: Fatal error: Default value for parameters with a class type hint can only be NULL
Description

I'm following the installation guidelines at https://manual.limesurvey.org/Installation_-_LimeSurvey_CE

I have got as far as "Run the installation script", but when I go to /limesurvey/admin all I get is the following PHP error:

Fatal error: Default value for parameters with a class type hint can only be NULL in~\application\models\LSActiveRecord.php on line 437
Additional Information

This looks like a PHP compatibility issue, due to using scalar type hints, which are only supported in PHP 7.

The installation page clearly states that LimeSurvey has a minimum requirement of PHP 5.5.9, in which case this is a compatibility bug.

Or, if the minimum version has changed, then this is a documentation bug.

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)4.1.5
I will donate to the project if issue is resolvedNo
BrowserFirefox
Database type & versionMySQL 5
Server OS (if known)Windows 8
Webserver software & version (if known)Apache
PHP Version5.6.18

Users monitoring this issue

There are no users monitoring this issue.

Activities

ollehar

ollehar

2020-02-17 18:00

administrator   ~56061

For LS4 you must use PHP 7. We need to update the manual. Sorry for the confusion.

ollehar

ollehar

2020-02-17 18:01

administrator   ~56062

Updated manual to reflect requirements of LS4.

MarkMaldaba

MarkMaldaba

2020-02-21 12:18

reporter   ~56135

Great - thanks for the clarification and the swift resolution.

Issue History

Date Modified Username Field Change
2020-02-17 14:21 MarkMaldaba New Issue
2020-02-17 18:00 ollehar Note Added: 56061
2020-02-17 18:01 ollehar Assigned To => ollehar
2020-02-17 18:01 ollehar Status new => closed
2020-02-17 18:01 ollehar Resolution open => won't fix
2020-02-17 18:01 ollehar Note Added: 56062
2020-02-21 12:18 MarkMaldaba Note Added: 56135