Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Statistics view PHP error

More
3 years 1 week ago #251049 by mariussi
Please help us help you and fill where relevant:
Your LimeSurvey version: LimeSurvey Community Edition Version 6.2.11+231007
Own server or LimeSurvey hosting: Self hosting
Survey theme/template: fruity_twentythree
Admin theme: sea green
PHP-Version: PHP Version 8.0.30
==================
I updatet from release 5.6.40 to 6.2.11+231007.
Now, when I go into one survey and click statistics the site does not load. When I right-click "statistics" and click "open in new tab" I get the following error: 
Code:
PHP warning Uninitialized string offset 0 /var/www/limesurvey/application/views/admin/export/statistics_subviews/_question.php(820) 808                         echo htmlspecialchars(implode(',',$_POST[$myfield2])); 809                     } 810                     echo " -->\n"; 811 812                     echo '<div class="statistics-responses-label-group ls-space padding bottom-5 top-15 ls-flex-item">'; 813                     //output checkbox and question/label text 814                     echo "<input type='checkbox' name='summary[]' value='$myfield2'"; 815 816                     //pre-check 817                     if (isset($summary) && array_search($myfield2, $summary)!== FALSE) {echo " checked='checked'";} 818 819                     //check if there is a dualscale_headerA/B 820                     $dshresult = $dshresults[$key1][0]; 821 822                     //get header 823                     foreach($dshresult as $dshrow) 824                     { 825                         $dshrow=array_values($dshrow); 826                         $dualscaleheadera = $dshrow[0]; 827                     } 828 829                     if(isset($dualscaleheadera) && $dualscaleheadera != "") 830                     { 831                         $labeltitle = $dualscaleheadera; 832                     }

This problem only exist in one survey. The others are fine.

Please Log in to join the conversation.

Moderators: holch, tpartner

Lime-years ahead

Online-surveys for every purse and purpose