<br />
<b>Warning</b>:  file_put_contents(/home/homolog.syscampanhapro.com.br/public_html/config/../logs/2026-05/api/erro_geral_2026-05-17.log): Failed to open stream: Permission denied in <b>/home/homolog.syscampanhapro.com.br/public_html/config/function.php</b> on line <b>673</b><br />
<br />
<b>Fatal error</b>:  Uncaught TypeError: ApiLog::create(): Argument #1 ($empresaId) must be of type int, null given, called in /home/homolog.syscampanhapro.com.br/public_html/api/services/ResponseService.php on line 24 and defined in /home/homolog.syscampanhapro.com.br/public_html/api/models/ApiLog.php:9
Stack trace:
#0 /home/homolog.syscampanhapro.com.br/public_html/api/services/ResponseService.php(24): ApiLog-&gt;create(NULL, '/sitemap.xml', 'GET', 500, 'TOKEN_NAO_INFOR...', '216.73.217.22', NULL, Array)
#1 /home/homolog.syscampanhapro.com.br/public_html/api/index.php(50): ResponseService-&gt;error(Array, 500, 'Erro interno in...', Object(PDO), Array)
#2 [internal function]: {closure}(Object(TypeError))
#3 {main}
  thrown in <b>/home/homolog.syscampanhapro.com.br/public_html/api/models/ApiLog.php</b> on line <b>9</b><br />
<br />
<b>Warning</b>:  file_put_contents(/home/homolog.syscampanhapro.com.br/public_html/config/../logs/2026-05/api/erro_geral_2026-05-17.log): Failed to open stream: Permission denied in <b>/home/homolog.syscampanhapro.com.br/public_html/config/function.php</b> on line <b>673</b><br />
