A PHP Error was encountered

Severity: Notice

Message: Undefined variable: base_url

Filename: controllers/Categoria.php

Line Number: 66

Backtrace:

File: /home/emporiodasdietas/public_html/application/controllers/Categoria.php
Line: 66
Function: _error_handler

File: /home/emporiodasdietas/public_html/application/controllers/Categoria.php
Line: 145
Function: index

File: /home/emporiodasdietas/public_html/paineladmin_sistema.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: implode(): Invalid arguments passed

Filename: controllers/Categoria.php

Line Number: 66

Backtrace:

File: /home/emporiodasdietas/public_html/application/controllers/Categoria.php
Line: 66
Function: implode

File: /home/emporiodasdietas/public_html/application/controllers/Categoria.php
Line: 145
Function: index

File: /home/emporiodasdietas/public_html/paineladmin_sistema.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /home/emporiodasdietas/public_html/application/models/Home_model.php
Line: 148
Function: get

File: /home/emporiodasdietas/public_html/application/controllers/Categoria.php
Line: 123
Function: buscar_resultados_cat

File: /home/emporiodasdietas/public_html/application/controllers/Categoria.php
Line: 145
Function: index

File: /home/emporiodasdietas/public_html/paineladmin_sistema.php
Line: 292
Function: require_once

Database Error

A Database Error Occurred

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 '-4, 4' at line 6

SELECT * FROM `conteudos` WHERE `cont_id_cat` IN(0) AND `cont_status` = 1 ORDER BY `cont_id` DESC LIMIT -4, 4

Filename: models/Home_model.php

Line Number: 148