Additional uncaught exception thrown while handling exception.

Original

TypeError: array_keys(): Argument #1 ($array) must be of type array, null given in array_keys() (line 89 of /var/www/html/includes/module.inc).

Additional

Exception: theme() may not be called until all modules are loaded. in theme() (line 1017 of /var/www/html/includes/theme.inc).