View Issue Details

This bug affects 1 person(s).
IDProjectCategoryView StatusLast Update
17592Bug reportsInstallationpublic2021-09-15 11:04
ReportersdsAdm1n Assigned Toollehar  
Status assignedResolutionopen 
Product Version5.x 
Summary17592: Call to a member function getColumn() on string
DescriptionI am currently running with LS version 5.0.5+210621, upon trying to upgrade my version to the latest version as of now "5.1.10 build 210913", I received an error of "Call to a member function getColumn() on string" upon calling my application /admin page for database upgrade.
Steps To ReproduceFollow the steps of manual update, successfully calling the admin page. Database upgrade screen appears, showing that LS database will be upgraded from version 449 to version 472. Click "Start database upgrade" button, the attached error message will appear.
Additional Information2021/09/12 12:25:49 [error] [exception.Error] Error: Call to a member function getColumn() on string in LSPATH\framework\db\schema\mssql\CMssqlCommandBuilder.php:70
Stack trace:
#0 LSPATH\application\helpers\update\updatedb_helper.php(5305): CMssqlCommandBuilder->createUpdateCommand()
#1 LSPATH\application\helpers\update\updatedb_helper.php(5023): decryptArchivedTables450()
#2 LSPATH\application\helpers\update\updatedb_helper.php(4714): updateEncryptedValues450()
#3 LSPATH\application\helpers\update\update_helper.php(33): db_upgrade_all()
#4LSPATH\application\controllers\admin\databaseupdate.php(38): CheckForDBUpgrades()
#5 [internal function]: databaseupdate->db()
#6 LSPATH\framework\web\actions\CAction.php(115): ReflectionMethod->invokeArgs()
#7 LSPATH\application\core\Survey_Common_Action.php(86): CAction->runWithParamsInternal()
#8 LSPATH\framework\web\CController.php(308): Survey_Common_Action->runWithParams()
#9 LSPATH\framework\web\CController.php(286): CController->runAction()
#10 LSPATH\framework\web\CController.php(265): CController->runActionWithFilters()
#11 LSPATH\application\controllers\AdminController.php(202): CController->run()
#12 LSPATH\framework\web\CWebApplication.php(282): AdminController->run()
#13 LSPATH\framework\web\CWebApplication.php(141): CWebApplication->runController()
#14 LSPATH\framework\base\CApplication.php(185): CWebApplication->processRequest()
#15 LSPATH\index.php(192): CApplication->run()
#16 {main}
TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)5.0.5+210621
I will donate to the project if issue is resolvedNo
Database & DB-VersionMS SQL Server 2016
Server OS (if known)Win Server 2019
Webserver software & version (if known)IIS 10
PHP Version7.4

Users monitoring this issue

User List There are no users monitoring this issue.




2021-09-12 10:44


getColumn().png (64,793 bytes)   
getColumn().png (64,793 bytes)   


2021-09-14 10:42

administrator   ~66476

Last edited: 2021-09-14 10:43

View 3 revisions

would it be possible for you to provide us with information about the variable value that is contained in $archivedTableSettings while the error happens? "application/helpers/update/updatedb_helper.php" just after line 5266 "var_dump($archivedTableSettings);"
or upload an export of the "archived_table_settings" table. You can also mark the comment as private, the data included in the table is just settings no data.

Issue History

Date Modified Username Field Change
2021-09-12 10:44 sdsAdm1n New Issue
2021-09-12 10:44 sdsAdm1n File Added: getColumn().png
2021-09-13 09:12 galads Assigned To => ollehar
2021-09-13 09:12 galads Status new => assigned
2021-09-13 10:49 ollehar Additional Information Updated View Revisions
2021-09-14 10:42 p_teichmann Note Added: 66476
2021-09-14 10:42 p_teichmann Bug heat 0 => 2
2021-09-14 10:42 p_teichmann Note Edited: 66476 View Revisions
2021-09-14 10:43 p_teichmann Note Edited: 66476 View Revisions
2021-09-15 10:13 p_teichmann Status assigned => feedback
2021-09-15 11:04 sdsAdm1n Bug heat 2 => 4
2021-09-15 11:04 sdsAdm1n Status feedback => assigned