View Issue Details

IDProjectCategoryView StatusLast Update
14913Bug reports[All Projects] ComfortUpdatepublic2019-07-15 11:36
ReporterATPITAssigned Toeddylackmann 
PrioritynoneSeveritymajor 
Status closedResolutionreopened 
Product Version3.16.x 
Target VersionFixed in Version 
Summary14913: ComfortUpdate PHP-Error Invalid argument supplied for foreach()
Description

Hi,

when I try to update with the ComfortUpdate Feature I get an php error. My actual version is 3.16.1+190314 and the update is for the version 3.17.3 (190429) . Since the last update, I dont changed anything.

Here the error text:

You have an error inside your local installation of LimeSurvey. See:
PHP Error [500]

Invalid argument supplied for foreach() (/var/www/vhosts/domain.de/survey/application/models/UpdateForm.php:889)

#0 /var/www/vhosts/domain.de/survey/framework/base/CApplication.php(834): CErrorHandler->handle()
#1 /var/www/vhosts/domain.de/survey/application/models/UpdateForm.php(889): LSYii_Application->handleError()
#2 /var/www/vhosts/domain.de/survey/application/models/UpdateForm.php(175): UpdateForm->_getModuleChecks()
#3 /var/www/vhosts/domain.de/survey/application/controllers/admin/update.php(231): UpdateForm->getLocalChecks()
#4 unknown(0): update->checkLocalErrors()
#5 /var/www/vhosts/domain.de/survey/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs()
#6 /var/www/vhosts/domain.de/survey/application/core/Survey_Common_Action.php(83): update->runWithParamsInternal()
#7 /var/www/vhosts/domain.de/survey/framework/web/CController.php(308): update->runWithParams()
#8 /var/www/vhosts/domain.de/survey/framework/web/CController.php(286): AdminController->runAction()
#9 /var/www/vhosts/domain.de/survey/framework/web/CController.php(265): AdminController->runActionWithFilters()
#10 /var/www/vhosts/domain.de/survey/application/controllers/AdminController.php(158): AdminController->run()
#11 /var/www/vhosts/domain.de/survey/framework/web/CWebApplication.php(282): AdminController->run()
#12 /var/www/vhosts/domain.de/survey/framework/web/CWebApplication.php(141): LSYii_Application->runController()
#13 /var/www/vhosts/domain.de/survey/framework/base/CApplication.php(185): LSYii_Application->processRequest()
#14 /var/www/vhosts/domain.de/survey/index.php(194): LSYii_Application->run()

TagsNo tags attached.
Complete LimeSurvey version number (& build)3.16.1+190314
I will donate to the project if issue is resolvedNo
Browser
Database & DB-Versionmysqlnd 5.0.12-dev - 20150407
Server OS (if known)Ubuntu
Webserver software & version (if known)
PHP Version 7.2.18

Activities

ATPIT

ATPIT

2019-06-03 11:11

reporter   ~52273

Since today, it's worked without changes.

Now i have the version 3.17.4 build 190529.

ArneD

ArneD

2019-07-03 16:09

reporter   ~52701

I have the same error :(

Tried to update from Version 3.17.5+190604 to 3.17.7 (190627)

Any ideas?

Thx Arne

cdorin

cdorin

2019-07-03 16:55

manager   ~52703

@LouisGac

LouisGac

LouisGac

2019-07-11 15:47

manager   ~52843

It was related to debug mode. When debug mode is off, no problem.
It seems to fixed in latest versions.

ATPIT

ATPIT

2019-07-12 10:22

reporter   ~52855

Do you mean the debug mode in the global settings? Both debug modes are off in my configuration.

LouisGac

LouisGac

2019-07-12 10:23

manager   ~52856

debug mode in config.php

ATPIT

ATPIT

2019-07-12 10:51

reporter   ~52859

oh ok, now it works. Thanks!

eddylackmann

eddylackmann

2019-07-15 11:36

developer   ~52878

issue fixed in the ComfortUpdate database (php_modules field had unvalid value for build 190429).

Issue History

Date Modified Username Field Change
2019-05-20 17:23 ATPIT New Issue
2019-05-20 17:23 ATPIT Status new => assigned
2019-05-20 17:23 ATPIT Assigned To => LouisGac
2019-06-03 11:11 ATPIT Note Added: 52273
2019-07-03 16:09 ArneD Note Added: 52701
2019-07-03 16:55 cdorin Note Added: 52703
2019-07-11 15:22 LouisGac Assigned To LouisGac => eddylackmann
2019-07-11 15:47 LouisGac Note Added: 52843
2019-07-11 15:47 LouisGac Status assigned => closed
2019-07-11 15:47 LouisGac Resolution open => fixed
2019-07-12 10:22 ATPIT Status closed => feedback
2019-07-12 10:22 ATPIT Resolution fixed => reopened
2019-07-12 10:22 ATPIT Note Added: 52855
2019-07-12 10:23 LouisGac Note Added: 52856
2019-07-12 10:51 ATPIT Note Added: 52859
2019-07-12 10:51 ATPIT Status feedback => assigned
2019-07-15 11:36 eddylackmann Status assigned => closed
2019-07-15 11:36 eddylackmann Note Added: 52878