A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Noticias.php

Line Number: 23

Backtrace:

File: /home/bancario/public_html/application/controllers/Noticias.php
Line: 23
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: 438
Function: count_all_results

File: /home/bancario/public_html/application/controllers/Noticias.php
Line: 23
Function: countWhere_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 (`sindicatos` LIKE '%,15' OR `sindicatos` LIKE '%,15,%' OR `sindi...' at line 3

SELECT COUNT(*) AS `numrows` FROM `articles` WHERE IS NULL AND (`sindicatos` LIKE '%,15' OR `sindicatos` LIKE '%,15,%' OR `sindicatos` LIKE '15,%' OR `sindicatos` LIKE '15') AND `id_company` in (15,37) AND `id_status` = 1

Filename: models/Global_model.php

Line Number: 438