Additional uncaught exception thrown while handling exception.

Original

Error: Undefined constant "undefined_function" in include_once() (line 134 of /dados/prefeitura-ds.pbh.gov.br/modules/custom/pbh_custom/pbh_custom.module).

include_once() (Line: 153)
Drupal\Core\Extension\Extension->load() (Line: 128)
Drupal\Core\Extension\ModuleHandler->load() (Line: 141)
Drupal\Core\Extension\ModuleHandler->loadAll() (Line: 615)
Drupal\Core\DrupalKernel->preHandle() (Line: 46)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle() (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch() (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup() (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 50)
Drupal\ban\BanMiddleware->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 741)
Drupal\Core\DrupalKernel->handle() (Line: 19)

Additional

Error: Object of class Drupal\Core\Config\ImmutableConfig could not be converted to string in _drupal_log_error() (line 263 of /dados/prefeitura-ds.pbh.gov.br/core/includes/errors.inc).

_drupal_log_error() (Line: 184)
_drupal_exception_handler()