A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Urunler.php

Line Number: 138

Backtrace:

File: /home/mekaakis/public_html/application/controllers/Urunler.php
Line: 138
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Urunler.php

Line Number: 138

Backtrace:

File: /home/mekaakis/public_html/application/controllers/Urunler.php
Line: 138
Function: _error_handler

File: /home/mekaakis/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 'ORDER BY galeri_sira' at line 1

SELECT * FROM urun_gorselleri WHERE urun_id = ORDER BY galeri_sira

Filename: controllers/Urunler.php

Line Number: 140