View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
19675Bug reportsOtherpublic2024-10-16 17:59
Reporterlozam Assigned Totibor.pacalat  
PrioritynoneSeveritypartial_block 
Status ready for code reviewResolutionopen 
Product Version6.5.x 
Summary19675: iFileUploadTotalSpaceMB > 0 Error 500
Description

If we set a value for iFileUploadTotalSpaceMB > 0 Limesurvey crash with this error :
Non-static method CActiveRecord::findAll() cannot be called statically

Steps To Reproduce

Steps to reproduce

(Replace this text with detailed step-by-step instructions on how to reproduce the issue)

Expected result

(Write here what you expected to happen)

Actual result

(Write here what happened instead)

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)6.5.18
I will donate to the project if issue is resolvedNo
Browser
Database type & versionAll
Server OS (if known)
Webserver software & version (if known)
PHP Version8.3

Users monitoring this issue

There are no users monitoring this issue.

Activities

lozam

lozam

2024-07-31 16:04

reporter   ~80727

To fix it you must change the file application/helpers/common_helper.php L298
$aRows = Survey::findAll();
to
$aRows = Survey::model()->findAll();

lozam

lozam

2024-07-31 16:21

reporter   ~80728

PR : https://github.com/LimeSurvey/LimeSurvey/pull/3933

Issue History

Date Modified Username Field Change
2024-07-31 16:00 lozam New Issue
2024-07-31 16:04 lozam Note Added: 80727
2024-07-31 16:04 lozam Bug heat 0 => 2
2024-07-31 16:21 lozam Note Added: 80728
2024-10-16 17:59 tibor.pacalat Assigned To => tibor.pacalat
2024-10-16 17:59 tibor.pacalat Status new => ready for code review