Welcome to the LimeSurvey Community Forum

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

Lime Survey upgrade from 3 to 5 - Thems - Undefined index: questionType

  • adelphisurveys
  • adelphisurveys's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
2 years 2 months ago - 2 years 2 months ago #224500 by adelphisurveys
Browser    Chrome, 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 Version PHP 7.4.27

Wenn ich das Menü Theme öffne, bekomme ich die PHP Nachricht "Undefined index: questionType".






Was kann das sein?
Last edit: 2 years 2 months ago by adelphisurveys.

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 2 months ago #224501 by tpartner
English in this forum section please.

It looks like a custom question theme has incomplete metadata in its config.xml file.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

  • adelphisurveys
  • adelphisurveys's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
2 years 2 months ago #224505 by adelphisurveys
Sorry, my mistake. But how can I edit the entry?
So again in the correct language:

I have updated LS from version 3.27.31+220104 to version 5.2.10+220118. And then I made:

php application/commands/console.php updatedb

Now, when I open the submenu of "Configuration" -> "Theme" I get the PHP warning "Undefined index: questionType".

You mean a theme has incomplete metadata in its config.xml?
I'll take a look and get back to you. Thanks!

Please Log in to join the conversation.

  • adelphisurveys
  • adelphisurveys's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
2 years 2 months ago - 2 years 2 months ago #224506 by adelphisurveys
This is only a PHP notice. And when I turn off the debug mode, it is gone. So it would be much more important for me to know if I have to worry about it?
Last edit: 2 years 2 months ago by adelphisurveys.

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 2 months ago #224514 by tpartner
I would recommend fixing it. You can find some config.xml files that work in 5.x here - github.com/tpartner?tab=repositories

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 2 months ago #224538 by DenisChenu

This is only a PHP notice. And when I turn off the debug mode, it is gone. So it would be much more important for me to know if I have to worry about it?
 
Hi,
Even if it's only a PHP notice : it must be fixed in debug mode too.

Please : report the issue with original question theme.
LimeSurvey must have a cleaner way to fix it.

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.

Please Log in to join the conversation.

  • adelphisurveys
  • adelphisurveys's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
2 years 2 months ago #224950 by adelphisurveys
Thank you all! I am not sure if I have understood you correctly. But surely you mean I should open a proper bug report on the bug tracker.

Right?

Greetz Bavra

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 2 months ago #225003 by DenisChenu

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.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose