A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Home.php

Line Number: 437

Backtrace:

File: /var/www/exclusivelinesindia.com/application/controllers/Home.php
Line: 437
Function: _error_handler

File: /var/www/exclusivelinesindia.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Home.php

Line Number: 437

Backtrace:

File: /var/www/exclusivelinesindia.com/application/controllers/Home.php
Line: 437
Function: _error_handler

File: /var/www/exclusivelinesindia.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Home.php

Line Number: 437

Backtrace:

File: /var/www/exclusivelinesindia.com/application/controllers/Home.php
Line: 437
Function: _error_handler

File: /var/www/exclusivelinesindia.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Home.php

Line Number: 438

Backtrace:

File: /var/www/exclusivelinesindia.com/application/controllers/Home.php
Line: 438
Function: _error_handler

File: /var/www/exclusivelinesindia.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Home.php

Line Number: 439

Backtrace:

File: /var/www/exclusivelinesindia.com/application/controllers/Home.php
Line: 439
Function: _error_handler

File: /var/www/exclusivelinesindia.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Home.php

Line Number: 440

Backtrace:

File: /var/www/exclusivelinesindia.com/application/controllers/Home.php
Line: 440
Function: _error_handler

File: /var/www/exclusivelinesindia.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Home.php

Line Number: 441

Backtrace:

File: /var/www/exclusivelinesindia.com/application/controllers/Home.php
Line: 441
Function: _error_handler

File: /var/www/exclusivelinesindia.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Home.php

Line Number: 444

Backtrace:

File: /var/www/exclusivelinesindia.com/application/controllers/Home.php
Line: 444
Function: _error_handler

File: /var/www/exclusivelinesindia.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /var/www/exclusivelinesindia.com/application/models/Comman_model.php
Line: 439
Function: get

File: /var/www/exclusivelinesindia.com/application/controllers/Home.php
Line: 466
Function: fetchalldata

File: /var/www/exclusivelinesindia.com/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 MySQL server version for the right syntax to use near 'or `gender` = '' and `product_id` IS NOT NULL GROUP BY rand() LIMIT 4' at line 5

SELECT `products`.*, `categories`.`category_name`, `categories`.`url_slug` as `category_slug`, `brands`.`brand_name` FROM `products` JOIN `categories` ON `categories`.`category_id` = `products`.`product_cat` JOIN `brands` ON `brands`.`id` = `products`.`brand_id` WHERE `brand_id` = or `gender` = '' and `product_id` IS NOT NULL GROUP BY rand() LIMIT 4

Filename: models/Comman_model.php

Line Number: 439