View Issue Details

IDProjectCategoryView StatusLast Update
13121Bug reports[All Projects] Otherpublic2018-01-15 10:55
ReporterTonisOrmissonAssigned Tomarkusfluer 
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version3.0.0-rc.x 
Target VersionFixed in Version 
Summary13121: Illegal string offset 'uid'
Descriptionget the Illegal string offset 'uid' error with debug=2 on route:
index.php?r=admin/survey/sa/rendersidemenulink&subaction=generalsettings&surveyid=xxxxx
Additional InformationPHP warning

Illegal string offset 'uid'

/var/www/html/application/controllers/admin/surveyadmin.php(1556)

1544 /**
1545 * @param integer $iSurveyID
1546 */
1547 private function _getGeneralTemplateData($iSurveyID)
1548 {
1549 $aData = [];
1550 $aData['surveyid'] = $iSurveyID;
1551
1552 // Get users, but we only need id and name (NOT password etc)
1553 $users = getUserList();
1554 $aData['users'] = array();
1555 foreach ($users as $user) {
1556 $aData['users'][$user['uid']] = $user['user'].($user['full_name'] ? ' - '.$user['full_name'] : '');
1557 }
1558 // Sort users by name
1559 asort($aData['users']);
1560 $aData['aSurveyGroupList'] = SurveysGroups::getSurveyGroupsList();
1561 return $aData;
1562 }
1563
1564 /**
1565 * @param Survey $survey
1566 * @return array
1567 */
1568 private function _getTextEditData($survey)

TagsNo tags attached.
Complete LimeSurvey version number (& build)Version 3.0.1
I will donate to the project if issue is resolvedNo
Browser
Database & DB-Versionna
Operating System (Server)na
Webserver software & versionna
PHP Versionna

Activities

markusfluer

markusfluer

2018-01-08 11:47

developer   ~45464

I have problems reproducing this, can you post some more information on how you achieved this?

Issue History

Date Modified Username Field Change
2018-01-04 08:52 TonisOrmisson New Issue
2018-01-08 11:19 LouisGac Assigned To => markusfluer
2018-01-08 11:19 LouisGac Status new => assigned
2018-01-08 11:47 markusfluer Status assigned => feedback
2018-01-08 11:47 markusfluer Note Added: 45464
2018-01-15 10:55 LouisGac Status feedback => closed
2018-01-15 10:55 LouisGac Resolution open => fixed