View Issue Details

This issue affects 1 person(s).
 0
IDProjectCategoryView StatusLast Update
20516Bug reportsInstallationpublic2026-05-19 12:57
Reporterriqcles Assigned To 
PrioritynoneSeveritycrash 
Status newResolutionopen 
Product Version7.0beta x 
Summary20516: Updating an existing database failed - Postgres
Description

To be done in a development environment.

Choose a LimeSurvey 6.x version with several thousand questionnaires.

Install a LimeSurvey 7 beta version.

Modify the config.ini file of version 7 to point to the database of version 6.
Perform the update:
Via the web interface
After failure, repeat the update via the command line using the command:
php /limesurvey7/application/commands/console.php

The following errors may appear:

  • PHP Error[2]: Undefined array key 0

  • TypError: Unsupported operand types: sting - int in /limesurvey7/application/helpers/common_helper.php:1471

In my case, the second error occurred after I deleted 1,500 questionnaires.

It would be good to be able to create a log file to record these errors for analysis (and then disable this file) during an update.

forum link :
https://forums.limesurvey.org/forum/installation-a-update-issues/159180-3%20036-limesurvey-7-updating-an-existing-database-failed#274363

Steps To Reproduce

Steps to reproduce

(Replace this text with detailed step-by-step instructions on how to reproduce the issue)

Expected result

(Write here what you expected to happen)

Actual result

(Write here what happened instead)

TagsNo tags attached.
Bug heat0
Complete LimeSurvey version number (& build)Limesurvey 7 Beta
I will donate to the project if issue is resolvedNo
Browser
Database type & versionPostgresql 17
Server OS (if known)
Webserver software & version (if known)Rocky Linux
PHP VersionPHP Version 8.2.4

Users monitoring this issue

There are no users monitoring this issue.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2026-05-19 12:57 riqcles New Issue