Retrieve_conf err 255 related to uncaught exception

I have a new FreePBX Distro (12.0.70) installed on CentOS 7 and on first use, modifying a simple setting (like the friendly name of the PBX from the advanced settings page), I get an error when clicking apply

PHP Fatal error:  Uncaught exception 'Exception' with message 'Tried to remove key noload from section modules, but that section doesn't exist' in /var/www/html/admin/libraries/BMO/ConfigFile.class.php:79
Stack trace:
#0 /var/www/html/admin/libraries/BMO/ModulesConf.class.php(63): ConfigFile->removeEntry('modules', 'noload', 'chan_sip.so')
#1 /var/www/html/admin/modules/core/functions.inc/PJSip.class.php(233): ModulesConf->removenoload('chan_sip.so')
#2 /var/www/html/admin/libraries/BMO/FileHooks.class.php(100): FreePBX\modules\Core\PJSip->writeConfig(Array)
#3 /var/www/html/admin/libraries/BMO/FileHooks.class.php(25): FileHooks->processNewHooks()
#4 /var/lib/asterisk/bin/retrieve_conf(740): FileHooks->processFileHooks(Array)
#5 {main}
  thrown in /var/www/html/admin/libraries/BMO/ConfigFile.class.php on line 79

Can anyone suggest a resolution?

I’m gonna guess that there’s something wrong (or nonexistent) with your /etc/asterisk/modules.conf.

Check the permissions on the file and make sure it’s there.