A PHP Error was encountered

Severity: Warning

Message: A non-numeric value encountered

Filename: models/Blog_model.php

Line Number: 79

Backtrace:

File: /home/plandv/public_html/application/models/Blog_model.php
Line: 79
Function: _error_handler

File: /home/plandv/public_html/application/controllers/Home.php
Line: 107
Function: get_all_pagina_hab

File: /home/plandv/public_html/index.php
Line: 314
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 573

Backtrace:

File: /home/plandv/public_html/application/models/Blog_model.php
Line: 82
Function: get

File: /home/plandv/public_html/application/controllers/Home.php
Line: 107
Function: get_all_pagina_hab

File: /home/plandv/public_html/index.php
Line: 314
Function: require_once

Database Error

Se produjo un error en la base de datos

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

SELECT `blog`.*, `blog_categoria`.`titulo` as `categoria` FROM `blog` JOIN `blog_categoria` ON `blog_categoria`.`id` = `blog`.`id_categoria` WHERE `blog`.`estado` = 1 ORDER BY `orden` ASC, `id` DESC LIMIT -6, 6

Filename: models/Blog_model.php

Line Number: 82