In /subsys/Bluetooth/host/mesh/cfg_srv.c there is a test for IS_ENABLED(BT_SETTINGS) in mod_reset() which needs to be IS_ENABLED(CONFIG_BT_SETTINGS).