A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Noticias.php

Line Number: 47

Backtrace:

File: /home/excellen/public_html/application/controllers/Noticias.php
Line: 47
Function: _error_handler

File: /home/excellen/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/excellen/public_html/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 578

Backtrace:

File: /home/excellen/public_html/application/models/Global_model.php
Line: 75
Function: get

File: /home/excellen/public_html/application/controllers/Noticias.php
Line: 47
Function: getWhereOrderByLimit

File: /home/excellen/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 'and `id_category` = 40 AND `id_company` = '20' AND `id_status` = 1 ORDER BY `id`' at line 3

SELECT * FROM `articles` WHERE `id` <> and `id_category` = 40 AND `id_company` = '20' AND `id_status` = 1 ORDER BY `id` DESC LIMIT 4

Filename: models/Global_model.php

Line Number: 75