A PHP Error was encountered

Severity: Notice

Message: Undefined index: lang

Filename: controllers/Search.php

Line Number: 59

Backtrace:

File: /home/codikgnp/public_html/flowershop/application/controllers/Search.php
Line: 59
Function: _error_handler

File: /home/codikgnp/public_html/flowershop/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 /home/codikgnp/public_html/flowershop/system/core/Exceptions.php:272)

Filename: core/Common.php

Line Number: 573

Backtrace:

File: /home/codikgnp/public_html/flowershop/application/controllers/Search.php
Line: 60
Function: query

File: /home/codikgnp/public_html/flowershop/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 'and category IN (3,5,6,7,8)' at line 1

SELECT * FROM `product` WHERE country= and category IN (3,5,6,7,8)

Filename: controllers/Search.php

Line Number: 60