A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'mes' of non-object

Filename: controllers/Home.php

Line Number: 144

Backtrace:

File: /opt/delta24h/plataforma/application/controllers/Home.php
Line: 144
Function: _error_handler

File: /opt/delta24h/plataforma/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index:

Filename: helpers/admin_helper.php

Line Number: 782

Backtrace:

File: /opt/delta24h/plataforma/application/helpers/admin_helper.php
Line: 782
Function: _error_handler

File: /opt/delta24h/plataforma/application/controllers/Home.php
Line: 144
Function: get_mes_nome_by_id

File: /opt/delta24h/plataforma/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'data_postagem' of non-object

Filename: controllers/Home.php

Line Number: 145

Backtrace:

File: /opt/delta24h/plataforma/application/controllers/Home.php
Line: 145
Function: _error_handler

File: /opt/delta24h/plataforma/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Creating default object from empty value

Filename: controllers/Home.php

Line Number: 146

Backtrace:

File: /opt/delta24h/plataforma/application/controllers/Home.php
Line: 146
Function: _error_handler

File: /opt/delta24h/plataforma/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$mes_atualizacao

Filename: controllers/Home.php

Line Number: 148

Backtrace:

File: /opt/delta24h/plataforma/application/controllers/Home.php
Line: 148
Function: _error_handler

File: /opt/delta24h/plataforma/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$data_atualizacao

Filename: controllers/Home.php

Line Number: 149

Backtrace:

File: /opt/delta24h/plataforma/application/controllers/Home.php
Line: 149
Function: _error_handler

File: /opt/delta24h/plataforma/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Creating default object from empty value

Filename: controllers/Home.php

Line Number: 158

Backtrace:

File: /opt/delta24h/plataforma/application/controllers/Home.php
Line: 158
Function: _error_handler

File: /opt/delta24h/plataforma/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$data_postagem

Filename: controllers/Home.php

Line Number: 162

Backtrace:

File: /opt/delta24h/plataforma/application/controllers/Home.php
Line: 162
Function: _error_handler

File: /opt/delta24h/plataforma/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /opt/delta24h/plataforma/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /opt/delta24h/plataforma/application/models/BlogModel.php
Line: 153
Function: get

File: /opt/delta24h/plataforma/application/controllers/Home.php
Line: 162
Function: get_anterior_by_data

File: /opt/delta24h/plataforma/index.php
Line: 318
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 MySQL server version for the right syntax to use near 'AND `status` = 1 ORDER BY `data_postagem` DESC LIMIT 1' at line 5

SELECT `blog_postagem`.*, MONTH(blog_postagem.data_postagem) mes, MONTH(blog_postagem.data_atualizacao) mes_atualizacao, `usuario`.`nome` as `nome_postador` FROM `blog_postagem` LEFT JOIN `usuario` ON `usuario`.`usuario_id` = `blog_postagem`.`usuario_responsavel` WHERE `data_postagem` < AND `status` = 1 ORDER BY `data_postagem` DESC LIMIT 1

Filename: models/BlogModel.php

Line Number: 153