CU from 3.15.6+ to 3.17.3 triggers PHP 500 / LS4 as destination is working

More
1 year 1 month ago - 1 year 1 month ago #184708 by jelo
PHP 7.2.18 or PHP 7.1.29
Version 3.15.6+190108

Running Comfortupdate to 3.17.3 (190429) via server: comfortupdate.limesurvey.org/ results in
You have an error inside your local installation of LimeSurvey. See:
PHP Error [500]
 
Invalid argument supplied for foreach() (/application/models/UpdateForm.php:88
#0  /framework/base/CApplication.php(834): CErrorHandler->handle()
#1  /application/models/UpdateForm.php(889): LSYii_Application->handleError()
#2  /application/models/UpdateForm.php(175): UpdateForm->_getModuleChecks()
#3  /application/controllers/admin/update.php(231): UpdateForm->getLocalChecks()
#4 unknown(0): update->checkLocalErrors()
#5  /framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs()
#6  /application/core/Survey_Common_Action.php(83): update->runWithParamsInternal()
#7  /framework/web/CController.php(308): update->runWithParams()
#8  /framework/web/CController.php(286): AdminController->runAction()
#9  /framework/web/CController.php(265): AdminController->runActionWithFilters()
#10  /application/controllers/AdminController.php(158): AdminController->run()
#11  /framework/web/CWebApplication.php(282): AdminController->run()
#12  /framework/web/CWebApplication.php(141): LSYii_Application->runController()
#13  /framework/base/CApplication.php(185): LSYii_Application->processRequest()
#14  /index.php(194): LSYii_Application->run()


Choosing 4.0.0-beta (190509) as destination isn't triggering the issue.

Is it indented that debug=1 is preventing the check? Debug=0 solved that issue.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Last edit: 1 year 1 month ago by jelo.
The topic has been locked.
LimeSurvey Partners
More
1 year 1 month ago #184818 by DenisChenu

jelo wrote: …
Is it indented that debug=1 is preventing the check? Debug=0 solved that issue.

I don't think, there are just more error with debug=1 than debug=0.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development . I don't answer to private message.
The topic has been locked.
More
1 year 1 month ago #184822 by jelo
The LS4 check worked with debug=1, the LS3 check didn't work.

The CU server is a hydra full of individual scripts triggered by the build number. The hell to debug.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: DenisChenu
The topic has been locked.

Start now!

Just create your account and start using Limesurvey today.

Register now