Hi Guys,
I am getting these error on linux server.
Using Mediawiki 1.31
[503c1292cffc0d8d41f078dd] [no req] ConfigException from line 53 of /var/www/html/mediawiki/includes/config/GlobalVarConfig.php: GlobalVarConfig::get: undefined option: 'CommandLineMode'
Backtrace:
#0 /var/www/html/mediawiki/maintenance/Maintenance.php(645): GlobalVarConfig->get(string)
#1 /var/www/html/mediawiki/includes/libs/rdbms/database/Database.php(3461): Maintenance::{closure}(integer, Wikimedia\Rdbms\DatabaseMysqli)
#2 /var/www/html/mediawiki/includes/libs/rdbms/database/Database.php(3795): Wikimedia\Rdbms\Database->runTransactionListenerCallbacks(integer)
#3 /var/www/html/mediawiki/includes/libs/rdbms/database/Database.php(3582): Wikimedia\Rdbms\Database->commit(string, string)
#4 /var/www/html/mediawiki/extensions/SemanticWatchlist/src/TableUpdater.php(60): Wikimedia\Rdbms\Database->endAtomic(string)
#5 /var/www/html/mediawiki/extensions/SemanticWatchlist/src/MediaWiki/Hooks/UserSaveOptions.php(74): SWL\TableUpdater->updateGroupIdsForUser(integer, array)
#6 /var/www/html/mediawiki/extensions/SemanticWatchlist/src/MediaWiki/Hooks/UserSaveOptions.php(68): SWL\MediaWiki\Hooks\UserSaveOptions->performUpdate(array)
#7 /var/www/html/mediawiki/extensions/SemanticWatchlist/src/HookRegistry.php(77): SWL\MediaWiki\Hooks\UserSaveOptions->execute()
#8 /var/www/html/mediawiki/includes/Hooks.php(177): SWL\HookRegistry->SWL\{closure}(Bechtel\KMUser, array)
#9 /var/www/html/mediawiki/includes/Hooks.php(205): Hooks::callHook(string, array, array, NULL)
#10 /var/www/html/mediawiki/includes/user/User.php(5511): Hooks::run(string, array)
#11 /var/www/html/mediawiki/extensions/Bechtel/src/KMUser.php(310): User->saveOptions()
#12 /var/www/html/mediawiki/extensions/Bechtel/maintenance/Batch.php(190): Bechtel\KMUser->setLastRun(ConvertibleTimestamp)
#13 /var/www/html/mediawiki/maintenance/doMaintenance.php(94): Bechtel\Batch->execute()
#14 /var/www/html/mediawiki/extensions/Bechtel/maintenance/Batch.php(257): require_once(string)
#15 {main}
I have use this but still getting error.
Kindly help me.