View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
17857Bug reportsMenu systempublic2022-04-11 14:03
Reporteradelphisurveys Assigned Toollehar  
PrioritynoneSeveritycrash 
Status closedResolutionfixed 
Product Version5.2.x 
Summary17857: After updating from 5, I get an Error under the menu item "Survey Menu": Trying to access array offset on value of type nul
Description

After updating from LimeSurvey 3 to LimeSurvey 5 I get an Error under the menu item "Survey Menu": Trying to access array offset on value of type null.

Can anyone help me to find out why this is happening? The table entries under "surveymenu" and under "surveymenu_entries" have been taken over completely correctly. I hope I was in the right place.

The error does not occur in the old LimeSurvey version.

Steps To Reproduce

I did the update according to the following instructions:

https://manual.limesurvey.org/Upgrading_from_a_previous_version/de

Then I updated the database via the PHP CLI: php application/commands/console.php updatedb .

Update Version from Version 3.27.31+220104 to LimeSurvey Community Edition Version 5.2.10+220118

The update went through fine, except for the error under "Survey Menu".

TagsNo tags attached.
Attached Files
LS-Menu.png (64,763 bytes)   
LS-Menu.png (64,763 bytes)   
Bug heat6
Complete LimeSurvey version number (& build)LimeSurvey Community Edition Version 5.2.10+220118
I will donate to the project if issue is resolvedYes
BrowserChrome, Firefox
Database type & version mysql Ver 15.1 Distrib 10.5.12-MariaDB, for debian-linux-gnu (x86_64) using EditLine wrapper
Server OS (if known)Debiean Bullseye
Webserver software & version (if known) Server version: Apache/2.4.52 (Debian)
PHP VersionPHP 7.4.27

Users monitoring this issue

There are no users monitoring this issue.

Activities

ollehar

ollehar

2022-01-28 14:49

administrator   ~68138

Please go to "Configuration" --> "Menu configuration" and click the reset button. Then, go to "Configuration" --> "Menu entries configuration" and click the reset button. After, try again to enter the page that failed. Let us know if the issue persists. Thank you.

adelphisurveys

adelphisurveys

2022-02-01 14:49

reporter   ~68168

Thank you for your feedback. But I am not sure, if I have understood you correctly. Do you mean directly in the LimeSurvey backend? I don't have this menu, see the screenshot. Or do you mean directly in the database?

Thanks and greetings

Bavra

LimeSurvey-update.png (30,685 bytes)   
LimeSurvey-update.png (30,685 bytes)   
adelphisurveys

adelphisurveys

2022-02-01 16:32

reporter   ~68174

So I tried the following. I have the following tables: "surveymenu_entries" and "surveymenu".
Now I can open the option "Configuration" -> "Survey menus". of course without entries. What is the reason for this? Is there an entry in the table itself that is not correct?

adelphisurveys

adelphisurveys

2022-02-01 16:35

reporter   ~68175

Srry, I meant, I have truncated the following tables.

DenisChenu

DenisChenu

2022-02-01 18:04

developer   ~68176

Settings > Survey menus at right :)
Reset both

adelphisurveys

adelphisurveys

2022-02-11 16:43

reporter   ~68275

Sorry, I was in the wrong version of LimeSurvey. Anyway, I have now reset in LS 3 "Menu configuration" and " Menu entries configuration ", imported the database in LS 5, run the update.php over it and everything works as it should.

After that I have entered the entries manually again.
A somewhat cumbersome way, but the problem is solved.

DenisChenu

DenisChenu

2022-02-11 16:44

developer   ~68276

A somewhat cumbersome way

Totally agree

Issue History

Date Modified Username Field Change
2022-01-28 14:41 adelphisurveys New Issue
2022-01-28 14:41 adelphisurveys File Added: LS-Menu.png
2022-01-28 14:49 ollehar Note Added: 68138
2022-01-28 14:49 ollehar Bug heat 0 => 2
2022-01-28 15:28 ollehar Assigned To => ollehar
2022-01-28 15:28 ollehar Status new => feedback
2022-02-01 14:49 adelphisurveys Note Added: 68168
2022-02-01 14:49 adelphisurveys File Added: LimeSurvey-update.png
2022-02-01 14:49 adelphisurveys Bug heat 2 => 4
2022-02-01 14:49 adelphisurveys Status feedback => assigned
2022-02-01 16:32 adelphisurveys Note Added: 68174
2022-02-01 16:35 adelphisurveys Note Added: 68175
2022-02-01 18:04 DenisChenu Note Added: 68176
2022-02-01 18:04 DenisChenu Bug heat 4 => 6
2022-02-11 16:43 adelphisurveys Note Added: 68275
2022-02-11 16:44 DenisChenu Note Added: 68276
2022-04-11 14:03 galads Status assigned => closed
2022-04-11 14:03 galads Resolution open => fixed