Exit 255 after module updates

I’ve just updated 3 modules and then went to click on apply config. I now get the following error:

Any clues?

Reload failed because retrieve_conf encountered an error: 255

exit: 255
Unable to continue. array_flip() expects parameter 1 to be array, null given in /var/lib/asterisk/bin/retrieve_conf on line 788
#0 [internal function]: Whoops\Run->handleError(2, 'array_flip() ex...', '/var/lib/asteri...', 788, Array)
#1 /var/lib/asterisk/bin/retrieve_conf(788): array_flip(NULL)
#2 {main}

Back on the main dashboard which reverts back to the fallback welcome page i get the following;

Critical: retrieve_conf failed, config not applied  more..

So after investigating this more. The 3 modules that were updated were;

(core 14.0.1.9 (current: 14.0.1.5)
pbdirectory 2.11.0.6 (current: 2.11.0.5)
sysadmin 14.0.7.22 (current: 14.0.7.9)

I’ve disabled pbdirectory and now the config applies, so there must be a error with that addon