A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Gitanjali1_pages.php

Line Number: 176

Backtrace:

File: /home/u581647376/domains/gitanjaliawards.com/public_html/application/controllers/Gitanjali1_pages.php
Line: 176
Function: _error_handler

File: /home/u581647376/domains/gitanjaliawards.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/Gitanjali1_pages.php

Line Number: 176

Backtrace:

File: /home/u581647376/domains/gitanjaliawards.com/public_html/application/controllers/Gitanjali1_pages.php
Line: 176
Function: _error_handler

File: /home/u581647376/domains/gitanjaliawards.com/public_html/index.php
Line: 308
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Gitanjali1_pages.php

Line Number: 179

Backtrace:

File: /home/u581647376/domains/gitanjaliawards.com/public_html/application/controllers/Gitanjali1_pages.php
Line: 179
Function: _error_handler

File: /home/u581647376/domains/gitanjaliawards.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/Gitanjali1_pages.php

Line Number: 179

Backtrace:

File: /home/u581647376/domains/gitanjaliawards.com/public_html/application/controllers/Gitanjali1_pages.php
Line: 179
Function: _error_handler

File: /home/u581647376/domains/gitanjaliawards.com/public_html/index.php
Line: 308
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Gitanjali1_pages.php

Line Number: 180

Backtrace:

File: /home/u581647376/domains/gitanjaliawards.com/public_html/application/controllers/Gitanjali1_pages.php
Line: 180
Function: _error_handler

File: /home/u581647376/domains/gitanjaliawards.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/Gitanjali1_pages.php

Line Number: 180

Backtrace:

File: /home/u581647376/domains/gitanjaliawards.com/public_html/application/controllers/Gitanjali1_pages.php
Line: 180
Function: _error_handler

File: /home/u581647376/domains/gitanjaliawards.com/public_html/index.php
Line: 308
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Gitanjali1_pages.php

Line Number: 181

Backtrace:

File: /home/u581647376/domains/gitanjaliawards.com/public_html/application/controllers/Gitanjali1_pages.php
Line: 181
Function: _error_handler

File: /home/u581647376/domains/gitanjaliawards.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/Gitanjali1_pages.php

Line Number: 181

Backtrace:

File: /home/u581647376/domains/gitanjaliawards.com/public_html/application/controllers/Gitanjali1_pages.php
Line: 181
Function: _error_handler

File: /home/u581647376/domains/gitanjaliawards.com/public_html/index.php
Line: 308
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Gitanjali1_pages.php

Line Number: 181

Backtrace:

File: /home/u581647376/domains/gitanjaliawards.com/public_html/application/controllers/Gitanjali1_pages.php
Line: 181
Function: _error_handler

File: /home/u581647376/domains/gitanjaliawards.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/Gitanjali1_pages.php

Line Number: 181

Backtrace:

File: /home/u581647376/domains/gitanjaliawards.com/public_html/application/controllers/Gitanjali1_pages.php
Line: 181
Function: _error_handler

File: /home/u581647376/domains/gitanjaliawards.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/u581647376/domains/gitanjaliawards.com/public_html/system/core/Exceptions.php:283)

Filename: core/Common.php

Line Number: 574

Backtrace:

File: /home/u581647376/domains/gitanjaliawards.com/public_html/application/models/Gitanjali_product_model.php
Line: 535
Function: get

File: /home/u581647376/domains/gitanjaliawards.com/public_html/application/controllers/Gitanjali1_pages.php
Line: 181
Function: GetRelatedProducts

File: /home/u581647376/domains/gitanjaliawards.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 4

SELECT `id_product`, `sku_no`, `product_title`, `model_name`, `page_url`, `regular_price`, `sale_price`, (SELECT product_image FROM ga_product_images WHERE is_featured=1 AND product_id=P.id_product)product_image FROM `ga_products` `P` WHERE `P`.`status` = 1 AND FIND_IN_SET((),category_ids) != 0 AND `id_product` IS NOT NULL ORDER BY `id_product` ASC

Filename: models/Gitanjali_product_model.php

Line Number: 535