A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: controllers/Noticias.php

Line Number: 46

Backtrace:

File: /home/bancario/public_html/application/controllers/Noticias.php
Line: 46
Function: _error_handler

File: /home/bancario/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/bancario/public_html/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 578

Backtrace:

File: /home/bancario/public_html/application/models/Global_model.php
Line: 458
Function: get

File: /home/bancario/public_html/application/controllers/Noticias.php
Line: 46
Function: getList_off

File: /home/bancario/public_html/index.php
Line: 315
Function: require_once

Database Error

Ocorreu um erro de banco de dados

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'IS NULL AND FIND_IN_SET(15, sindicatos) AND `id_company` in (15,37) AND `id_s...' at line 3

SELECT * FROM `articles` WHERE IS NULL AND FIND_IN_SET(15, sindicatos) AND `id_company` in (15,37) AND `id_status` = 1 ORDER BY `id` DESC LIMIT 20, 20

Filename: models/Global_model.php

Line Number: 458