Replace $config_directories['sync'] with $settings['config_sync_directory']
Change record, "The sync directory is defined in $settings and not $config_directories": https://www.drupal.org/node/3018145
On or around 9:00am on Monday the 12th of January, git.uwaterloo.ca will be restarted to apply security and application patches. This maintenance should bring GitLab to latest patch in 18.7.x release line.
Change record, "The sync directory is defined in $settings and not $config_directories": https://www.drupal.org/node/3018145