View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
17820Bug reportsComfortUpdatepublic2021-12-31 10:25
Reporternetikja Assigned Togalads  
PrioritynoneSeverityblock 
Status closedResolutionfixed 
Product Version5.2.x 
Summary17820: Error 500: CDbCommand failed to execute the SQL statement" when participant submits response
Description

After comfort-updating from LS 3.17.x (cannot remember the exact version) to latest stable 5.2.7+211221 CE, an error occurs every time user submits his or her response, no matter what survey. 500 internal server error appears instead of "submit successful" message with following details:

CDbCommand nemohl vykonat SQL příkaz: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'question.language' in 'where clause'

Although this error may scare the participants, their responses seem to save well into the database. I suspect that the database upgrade failed at some point, but I cannot spot the issue. Is there any remedy to this? Note that when I install a fresh LS which works well, I cannot see a column called "question.language" at all anywhere.

Steps To Reproduce

Steps to reproduce

Use ComfortUpdate. After the update, fill a survey (doesn't matter which one), click Submit at the final page.

Expected result

Message about successful response submission. Response saved into response table.

Actual result

500 internal server error occurs with CDbCommand nemohl vykonat SQL příkaz: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'question.language' in 'where clause'

Tagsbug, PDF, PDFreport
Attached Files
Bug heat4
Complete LimeSurvey version number (& build)5.2.7+211221
I will donate to the project if issue is resolvedNo
BrowserChrome 96.0.4664.110
Database type & versionMariaDB / 10.3.31-MariaDB-0+deb10u1-log - Debian 10 /
Server OS (if known)Debian
Webserver software & version (if known)Apache/2.4.38 (Debian) / libmysql - mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $
PHP Version7.3.31-1~deb10u1

Users monitoring this issue

There are no users monitoring this issue.

Activities

netikja

netikja

2021-12-30 10:47

reporter   ~67875

EDIT: The issue is caused by a plugin called “PDFReport”. Solved by disabling it.

However, I cannot remember I have ever installed it, maybe it was sort of standard plugin shipped with LS 3.17.16? As a user I would definitely appreciate some warning about this possible LS vs. plugin ”version” mismatch either during the update or in the manual. IMHO, there should be some compatibility checks or measures like those Wordpress utilizes.

netikja

netikja

2021-12-30 10:47

reporter   ~67876

EDIT: The issue is caused by a plugin called “PDFReport”. Solved by disabling it.

However, I cannot remember I have ever installed it, maybe it was sort of standard plugin shipped with LS 3.17.16? As a user I would definitely appreciate some warning about this possible LS vs. plugin ”version” mismatch either during the update or in the manual. IMHO, there should be some compatibility checks or measures like those Wordpress utilizes.

galads

galads

2021-12-31 10:25

reporter   ~67891

Hello, thank you for reporting this issue. PDFReport is not a standard plugin in LS3. By the way, there is already a task to disable all plugins that are not core plugins when updating. At the moment, I also think incompatible plugins are disabled by default when upgrading.

I will close this issue now, since there is already a task to fix this issue in the pipeline.

Issue History

Date Modified Username Field Change
2021-12-29 19:57 netikja New Issue
2021-12-29 19:57 netikja File Added: Snímek obrazovky 2021-12-29 141926.png
2021-12-30 10:47 netikja Note Added: 67875
2021-12-30 10:47 netikja Bug heat 0 => 2
2021-12-30 10:47 netikja Note Added: 67876
2021-12-30 10:49 netikja Tag Attached: bug
2021-12-30 10:49 netikja Tag Attached: PDF
2021-12-30 10:49 netikja Tag Attached: PDFreport
2021-12-31 10:25 galads Note Added: 67891
2021-12-31 10:25 galads Bug heat 2 => 4
2021-12-31 10:25 galads Assigned To => galads
2021-12-31 10:25 galads Status new => closed
2021-12-31 10:25 galads Resolution open => fixed