A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Frontarticlecontroller.php

Line Number: 32

Backtrace:

File: /home/poblafm4/public_html/application/controllers/Frontarticlecontroller.php
Line: 32
Function: _error_handler

File: /home/poblafm4/public_html/application/controllers/Frontcontroller.php
Line: 90
Function: initHead

File: /home/poblafm4/public_html/application/controllers/Frontcontroller.php
Line: 58
Function: call_user_func_array

File: /home/poblafm4/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Frontarticlecontroller.php

Line Number: 33

Backtrace:

File: /home/poblafm4/public_html/application/controllers/Frontarticlecontroller.php
Line: 33
Function: _error_handler

File: /home/poblafm4/public_html/application/controllers/Frontcontroller.php
Line: 90
Function: initHead

File: /home/poblafm4/public_html/application/controllers/Frontcontroller.php
Line: 58
Function: call_user_func_array

File: /home/poblafm4/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Frontarticlecontroller.php

Line Number: 34

Backtrace:

File: /home/poblafm4/public_html/application/controllers/Frontarticlecontroller.php
Line: 34
Function: _error_handler

File: /home/poblafm4/public_html/application/controllers/Frontcontroller.php
Line: 90
Function: initHead

File: /home/poblafm4/public_html/application/controllers/Frontcontroller.php
Line: 58
Function: call_user_func_array

File: /home/poblafm4/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Frontarticlecontroller.php

Line Number: 34

Backtrace:

File: /home/poblafm4/public_html/application/controllers/Frontarticlecontroller.php
Line: 34
Function: _error_handler

File: /home/poblafm4/public_html/application/controllers/Frontcontroller.php
Line: 90
Function: initHead

File: /home/poblafm4/public_html/application/controllers/Frontcontroller.php
Line: 58
Function: call_user_func_array

File: /home/poblafm4/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Frontarticlecontroller.php

Line Number: 37

Backtrace:

File: /home/poblafm4/public_html/application/controllers/Frontarticlecontroller.php
Line: 37
Function: _error_handler

File: /home/poblafm4/public_html/application/controllers/Frontcontroller.php
Line: 90
Function: initHead

File: /home/poblafm4/public_html/application/controllers/Frontcontroller.php
Line: 58
Function: call_user_func_array

File: /home/poblafm4/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Frontarticlecontroller.php

Line Number: 38

Backtrace:

File: /home/poblafm4/public_html/application/controllers/Frontarticlecontroller.php
Line: 38
Function: _error_handler

File: /home/poblafm4/public_html/application/controllers/Frontcontroller.php
Line: 90
Function: initHead

File: /home/poblafm4/public_html/application/controllers/Frontcontroller.php
Line: 58
Function: call_user_func_array

File: /home/poblafm4/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Frontarticlecontroller.php

Line Number: 14

Backtrace:

File: /home/poblafm4/public_html/application/controllers/Frontarticlecontroller.php
Line: 14
Function: _error_handler

File: /home/poblafm4/public_html/application/controllers/Frontcontroller.php
Line: 91
Function: initView

File: /home/poblafm4/public_html/application/controllers/Frontcontroller.php
Line: 58
Function: call_user_func_array

File: /home/poblafm4/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Frontarticlecontroller.php

Line Number: 20

Backtrace:

File: /home/poblafm4/public_html/application/controllers/Frontarticlecontroller.php
Line: 20
Function: _error_handler

File: /home/poblafm4/public_html/application/controllers/Frontcontroller.php
Line: 91
Function: initView

File: /home/poblafm4/public_html/application/controllers/Frontcontroller.php
Line: 58
Function: call_user_func_array

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

Filename: core/Common.php

Line Number: 573

Backtrace:

File: /home/poblafm4/public_html/application/models/Frontobjectmodel.php
Line: 57
Function: query

File: /home/poblafm4/public_html/application/controllers/Frontarticlecontroller.php
Line: 168
Function: executeQuery

File: /home/poblafm4/public_html/application/controllers/Frontarticlecontroller.php
Line: 20
Function: getArticleByAuthor

File: /home/poblafm4/public_html/application/controllers/Frontcontroller.php
Line: 91
Function: initView

File: /home/poblafm4/public_html/application/controllers/Frontcontroller.php
Line: 58
Function: call_user_func_array

File: /home/poblafm4/public_html/index.php
Line: 315
Function: require_once

Database Error

Ha ocurrido un error con la base de datos

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 (a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= NOW()) ' at line 8

SELECT a.*, c.title as category_title, u.firstname, u.lastname, at.class as class_type, at.icon as icon_type, c.id_category FROM pf_articles a INNER JOIN pf_categories c ON a.id_category_default = c.id_category INNER JOIN pf_users u ON u.id_user = a.id_author INNER JOIN pf_articles_types at ON at.id_article_type = a.id_article_type WHERE a.id_article != 20270 and a.id_author = AND (a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= NOW()) AND (a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= NOW()) AND a.active = 1 ORDER BY a.publish_up DESC, a.id_article DESC LIMIT 4;

Filename: models/Frontobjectmodel.php

Line Number: 57