A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Product.php

Line Number: 537

Backtrace:

File: /var/www/html/application/controllers/Product.php
Line: 537
Function: _error_handler

File: /var/www/html/application/controllers/Product.php
Line: 38
Function: product_detail

File: /var/www/html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Product.php

Line Number: 539

Backtrace:

File: /var/www/html/application/controllers/Product.php
Line: 539
Function: _error_handler

File: /var/www/html/application/controllers/Product.php
Line: 38
Function: product_detail

File: /var/www/html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Product.php

Line Number: 545

Backtrace:

File: /var/www/html/application/controllers/Product.php
Line: 545
Function: _error_handler

File: /var/www/html/application/controllers/Product.php
Line: 38
Function: product_detail

File: /var/www/html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Product.php

Line Number: 546

Backtrace:

File: /var/www/html/application/controllers/Product.php
Line: 546
Function: _error_handler

File: /var/www/html/application/controllers/Product.php
Line: 38
Function: product_detail

File: /var/www/html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Product.php

Line Number: 547

Backtrace:

File: /var/www/html/application/controllers/Product.php
Line: 547
Function: _error_handler

File: /var/www/html/application/controllers/Product.php
Line: 38
Function: product_detail

File: /var/www/html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Product.php

Line Number: 548

Backtrace:

File: /var/www/html/application/controllers/Product.php
Line: 548
Function: _error_handler

File: /var/www/html/application/controllers/Product.php
Line: 38
Function: product_detail

File: /var/www/html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Product.php

Line Number: 548

Backtrace:

File: /var/www/html/application/controllers/Product.php
Line: 548
Function: _error_handler

File: /var/www/html/application/controllers/Product.php
Line: 38
Function: product_detail

File: /var/www/html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Product.php

Line Number: 549

Backtrace:

File: /var/www/html/application/controllers/Product.php
Line: 549
Function: _error_handler

File: /var/www/html/application/controllers/Product.php
Line: 38
Function: product_detail

File: /var/www/html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Product.php

Line Number: 549

Backtrace:

File: /var/www/html/application/controllers/Product.php
Line: 549
Function: _error_handler

File: /var/www/html/application/controllers/Product.php
Line: 38
Function: product_detail

File: /var/www/html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: views/product_detail.php

Line Number: 5

Backtrace:

File: /var/www/html/application/views/product_detail.php
Line: 5
Function: _error_handler

File: /var/www/html/application/views/layout/layout.php
Line: 4
Function: view

File: /var/www/html/application/controllers/Product.php
Line: 551
Function: view

File: /var/www/html/application/controllers/Product.php
Line: 38
Function: product_detail

File: /var/www/html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/html/system/core/Exceptions.php:272)

Filename: core/Common.php

Line Number: 573

Backtrace:

File: /var/www/html/application/models/Db_qry.php
Line: 109
Function: query

File: /var/www/html/application/views/product_detail.php
Line: 5
Function: getrecordbyidrow

File: /var/www/html/application/views/layout/layout.php
Line: 4
Function: view

File: /var/www/html/application/controllers/Product.php
Line: 551
Function: view

File: /var/www/html/application/controllers/Product.php
Line: 38
Function: product_detail

File: /var/www/html/index.php
Line: 316
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

select * from category where category_id=

Filename: models/Db_qry.php

Line Number: 109