A PHP Error was encountered

Severity: Notice

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

Filename: hirek/hirfull.php

Line Number: 3

Backtrace:

File: /var/www/vhosts/erdo-mezo.hu/httpdocs/application/views/hirek/hirfull.php
Line: 3
Function: _error_handler

File: /var/www/vhosts/erdo-mezo.hu/httpdocs/application/controllers/Hirek.php
Line: 111
Function: view

File: /var/www/vhosts/erdo-mezo.hu/httpdocs/index.php
Line: 315
Function: require_once

Database Error

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 hirek SET view=view+1 WHERE id=

Filename: models/Hirek_model.php

Line Number: 175