/var/www/loris/tools$ php CouchDB_Import_Demographics.php
Updating Config:BaseConfig: unchanged contentsDemographics_Session_HBN0000_VIS1: new
Demographics_Session_DCC0000_VIS1: new
PHP Fatal error: Uncaught TypeError: Project::getProjectFromID(): Argument #1 ($projectID) must be of type ProjectID, int given, called in /var/www/loris/tools/CouchDB_Import_Demographics.php on line 380 and defined in /var/www/loris/php/libraries/Project.class.inc:105
Stack trace:
#0 /var/www/loris/tools/CouchDB_Import_Demographics.php(380): Project::getProjectFromID()
#1 /var/www/loris/tools/CouchDB_Import_Demographics.php(496): CouchDBDemographicsImporter->_updateDataDict()
#2 /var/www/loris/tools/CouchDB_Import_Demographics.php(512): CouchDBDemographicsImporter->run()
#3 {main}
thrown in /var/www/loris/php/libraries/Project.class.inc on line 105
The projects seem to be properly setup in the MySQL side.
Any ideas on what could be causing the error?
Discussed in #9499
Originally posted by Johan-Peralta December 3, 2024
Hi, I am getting the following error when executing the CouchDB_Import_Demographics.php script on LORIS v26.0.0:
The projects seem to be properly setup in the MySQL side.
Any ideas on what could be causing the error?
Any help will be greatly appreciated, Johan