A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Sparture1_product.php

Line Number: 86

Backtrace:

File: /home/u158467476/domains/spartureinternational.com/public_html/application/controllers/Sparture1_product.php
Line: 86
Function: _error_handler

File: /home/u158467476/domains/spartureinternational.com/public_html/index.php
Line: 308
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Sparture1_product.php

Line Number: 86

Backtrace:

File: /home/u158467476/domains/spartureinternational.com/public_html/application/controllers/Sparture1_product.php
Line: 86
Function: _error_handler

File: /home/u158467476/domains/spartureinternational.com/public_html/index.php
Line: 308
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Sparture1_product.php

Line Number: 89

Backtrace:

File: /home/u158467476/domains/spartureinternational.com/public_html/application/controllers/Sparture1_product.php
Line: 89
Function: _error_handler

File: /home/u158467476/domains/spartureinternational.com/public_html/index.php
Line: 308
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Sparture1_product.php

Line Number: 89

Backtrace:

File: /home/u158467476/domains/spartureinternational.com/public_html/application/controllers/Sparture1_product.php
Line: 89
Function: _error_handler

File: /home/u158467476/domains/spartureinternational.com/public_html/index.php
Line: 308
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Sparture1_product.php

Line Number: 90

Backtrace:

File: /home/u158467476/domains/spartureinternational.com/public_html/application/controllers/Sparture1_product.php
Line: 90
Function: _error_handler

File: /home/u158467476/domains/spartureinternational.com/public_html/index.php
Line: 308
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Sparture1_product.php

Line Number: 90

Backtrace:

File: /home/u158467476/domains/spartureinternational.com/public_html/application/controllers/Sparture1_product.php
Line: 90
Function: _error_handler

File: /home/u158467476/domains/spartureinternational.com/public_html/index.php
Line: 308
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Sparture1_product.php

Line Number: 90

Backtrace:

File: /home/u158467476/domains/spartureinternational.com/public_html/application/controllers/Sparture1_product.php
Line: 90
Function: _error_handler

File: /home/u158467476/domains/spartureinternational.com/public_html/index.php
Line: 308
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Sparture1_product.php

Line Number: 90

Backtrace:

File: /home/u158467476/domains/spartureinternational.com/public_html/application/controllers/Sparture1_product.php
Line: 90
Function: _error_handler

File: /home/u158467476/domains/spartureinternational.com/public_html/index.php
Line: 308
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/u158467476/domains/spartureinternational.com/public_html/system/core/Exceptions.php:272)

Filename: core/Common.php

Line Number: 571

Backtrace:

File: /home/u158467476/domains/spartureinternational.com/public_html/application/models/Sparture_product_model.php
Line: 359
Function: get

File: /home/u158467476/domains/spartureinternational.com/public_html/application/controllers/Sparture1_product.php
Line: 90
Function: GetRelatedProducts

File: /home/u158467476/domains/spartureinternational.com/public_html/index.php
Line: 308
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 'category_ids) != 0 AND `id_product` IS NOT NULL ORDER BY `id_product` ASC' at line 3

SELECT `id_product`, `product_title`, `item_model_no`, `page_url`, `brand`, `manufacturer`, `product_price`, (SELECT image_file FROM sparture_product_images WHERE is_featured=1 AND product_id=P.id_product)product_image FROM `sparture_products` `P` WHERE FIND_IN_SET(,category_ids) != 0 AND `id_product` IS NOT NULL ORDER BY `id_product` ASC

Filename: models/Sparture_product_model.php

Line Number: 359