Error with latest Limesurvey 3.12.1
Since updating to the latest Limesurvey version 3.12.1 I get this error from my Cronjob:
Error: Call to undefined function setGlobalSetting() in /var/www/honors/limesurvey/application/models/Template.php:183
Stack trace:
#0 /var/www/honors/limesurvey/application/models/Survey.php(187): Template::templateNameFilter('bootswatch')
#1 /var/www/honors/limesurvey/framework/db/ar/CActiveRecord.php(1862): Survey->init()
#2 /var/www/honors/limesurvey/framework/db/ar/CActiveRecord.php(1895): CActiveRecord->populateRecord(Array, true)
#3 /var/www/honors/limesurvey/framework/db/ar/CActiveRecord.php(1359): CActiveRecord->populateRecords(Array, true, NULL)
#4 /var/www/honors/limesurvey/application/models/LSActiveRecord.php(68): CActiveRecord->query(Object(CDbCriteria), true)
#5 /var/www/honors/limesurvey/framework/db/ar/CActiveRecord.php(1478): LSActiveRecord->query(Object(CDbCriteria), true)
#6 /var/www/honors/limesurvey/plugins/sendMailCron/sendMailCron.php(309): CActiveRecord->findAll('active = 'Y' AN...', Array)
#7 /var/www/honors/limesurvey/plugins/sendMailCron/sendMailCron.php(293): sendMailCron->sendTokenMessages()
#8 [internal function]: sendMailCron->sendMailByCron()
#9 /var/www/honors/limesurvey/application/libraries/PluginManager/PluginManager.php(185): call_user_func(Array)
#10 /var/www/honors/limesurvey/application/commands/PluginCommand.php(28): LimeSurvey\PluginManager\PluginManager->dispatchEvent(Object(PluginEvent))
#11 [internal function]: PluginCommand->actionCron(NULL)
#12 /var/www/honors/limesurvey/framework/console/CConsoleCommand.php(172): ReflectionMethod->invokeArgs(Object(PluginCommand), Array)
#13 /var/www/honors/limesurvey/framework/console/CConsoleCommandRunner.php(71): CConsoleCommand->run(Array)
#14 /var/www/honors/limesurvey/framework/console/CConsoleApplication.php(92): CConsoleCommandRunner->run(Array)
#15 /var/www/honors/limesurvey/framework/base/CApplication.php(185): CConsoleApplication->processRequest()
#16 /var/www/honors/limesurvey/application/commands/console.php(64): CApplication->run()
#17 {main}