A PHP Error was encountered

Severity: Notice

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

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: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index:

Filename: helpers/admin_helper.php

Line Number: 535

Backtrace:

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

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

File: /opt/delta24h/plataforma/index.php
Line: 315
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: 159

Backtrace:

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

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

A PHP Error was encountered

Severity: Warning

Message: Creating default object from empty value

Filename: controllers/Home.php

Line Number: 160

Backtrace:

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

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

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$mes_atualizacao

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: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$data_atualizacao

Filename: controllers/Home.php

Line Number: 163

Backtrace:

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

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

A PHP Error was encountered

Severity: Warning

Message: Creating default object from empty value

Filename: controllers/Home.php

Line Number: 172

Backtrace:

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

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

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$data_postagem

Filename: controllers/Home.php

Line Number: 175

Backtrace:

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

File: /opt/delta24h/plataforma/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 /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: 131
Function: get

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

File: /opt/delta24h/plataforma/index.php
Line: 315
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: 131