A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: publico/Anuncios_model.php

Line Number: 80

Backtrace:

File: /home2/shopjaib/public_html/application/models/publico/Anuncios_model.php
Line: 80
Function: _error_handler

File: /home2/shopjaib/public_html/application/controllers/classificados_publico/Anuncio.php
Line: 17
Function: getAnuncioByLink

File: /home2/shopjaib/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: publico/Anuncios_model.php

Line Number: 84

Backtrace:

File: /home2/shopjaib/public_html/application/models/publico/Anuncios_model.php
Line: 84
Function: _error_handler

File: /home2/shopjaib/public_html/application/controllers/classificados_publico/Anuncio.php
Line: 17
Function: getAnuncioByLink

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

Filename: core/Common.php

Line Number: 578

Backtrace:

File: /home2/shopjaib/public_html/application/models/publico/Anuncios_model.php
Line: 84
Function: query

File: /home2/shopjaib/public_html/application/controllers/classificados_publico/Anuncio.php
Line: 17
Function: getAnuncioByLink

File: /home2/shopjaib/public_html/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 MariaDB server version for the right syntax to use near '' at line 1

UPDATE anuncios SET visitas= visitas+1 WHERE id =

Filename: models/publico/Anuncios_model.php

Line Number: 84