View Issue Details

IDProjectCategoryView StatusLast Update
14387Bug reports[All Projects] Otherpublic2019-05-15 12:56
ReporterDenisChenu Assigned Todominikvitt  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version4.0.0dev 
Target VersionFixed in Version 
Summary14387: Array to string conversion on upgrade
Description

PHP notice : Array to string conversion when update from 403

Steps To Reproduce

Unsure ;) can send my db if needed

TagsNo tags attached.
Complete LimeSurvey version number (& build)4.0.0 github
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database & DB-Versionmariadb
Server OS (if known)fedora/linux
Webserver software & version (if known)nginx
PHP Versionphp7.2

Activities

DenisChenu

DenisChenu

2019-01-01 17:08

developer  

PHP notice.html (16,815 bytes)
DenisChenu

DenisChenu

2019-01-01 17:09

developer   ~50083

OK,

Last db update aren't tested
[showxquestions] => Array
(
[stg_value] => choose
)

[showgroupinfo] => Array
    (
        [stg_value] => choose
    )

[shownoanswer] => Array
    (
        [stg_value] => 1
    )

[showqnumcode] => Array
    (
        [stg_value] => choose
    )
DenisChenu

DenisChenu

2019-01-01 17:12

developer   ~50084

And DB is invalid : 'showxquestions' => "string(1) NULL DEFAULT 'Y'" and
$settings1->showxquestions = (empty($globalSetting4->stg_value) ||$globalSetting4->stg_value == 'choose') ? 'show' : $globalSetting4->stg_value;

DenisChenu

DenisChenu

2019-01-01 17:13

developer  

CDbException.html (17,846 bytes)
DenisChenu

DenisChenu

2019-01-01 17:14

developer   ~50085

https://github.com/LimeSurvey/LimeSurvey/commit/97a8a549ecd916e62feebf5a92a9b65372541ae7#diff-fb32bdf0b19fecbe2d24aa8be88536e4

guest

guest

2019-01-02 13:49

viewer   ~50086

Fix committed to develop branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=28696

Related Changesets

LimeSurvey: develop f26b07c6

2019-01-02 13:48:42

Dominik Vitt

Details Diff
Fixed issue 14387: "Array to string conversion" message while upgrading to v4.0.0-alpha Affected Issues
14387
mod - application/helpers/update/updatedb_helper.php Diff File

Issue History

Date Modified Username Field Change
2019-01-01 17:08 DenisChenu New Issue
2019-01-01 17:08 DenisChenu File Added: PHP notice.html
2019-01-01 17:09 DenisChenu Note Added: 50083
2019-01-01 17:12 DenisChenu Note Added: 50084
2019-01-01 17:13 DenisChenu File Added: CDbException.html
2019-01-01 17:13 DenisChenu Assigned To => dominikvitt
2019-01-01 17:13 DenisChenu Status new => assigned
2019-01-01 17:14 DenisChenu Note Added: 50085
2019-01-02 13:49 Changeset attached => LimeSurvey develop f26b07c6
2019-01-02 13:49 guest Note Added: 50086
2019-01-02 13:49 guest Resolution open => fixed
2019-05-15 12:56 dominikvitt Status assigned => closed