delete_status = ? and car_type != ? and ul.client_id!=? and  delete_status = ?  and  car_type != ?  and  daily_price_status=? and (car_make in (SELECT id FROM `make` WHERE `cartype` IN (?) or `cartype1` IN (?) or `cartype2` IN (?) or `cartype3` IN (?) ) or  car_type IN (?)) and ul.client_id in (select client_id from `clients` where emirate like  ?) and ul.client_id!=?and cl.emirate=? and ul.delete_status = ? and ul.publish_ocd = ?
Array
(
    [0] => 0
    [1] => 2
    [2] => 247
    [3] => 0
    [4] => 2
    [5] => 1
    [6] => 36
    [7] => 36
    [8] => 36
    [9] => 36
    [10] => 36
    [11] => %Dubai%
    [12] => 247
    [13] => Dubai
    [14] => 0
    [15] => 1
)

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: sql

Filename: models/functions_model.php

Line Number: 11188


Fatal error: Uncaught Error: Call to a member function result_array() on boolean in /usr/share/nginx/fahry/ocd_live/public_html/application/models/functions_model.php:11189 Stack trace: #0 /usr/share/nginx/fahry/ocd_live/public_html/application/controllers/search.php(8244): Functions_model->get_car_spec_list_search(' delete_status ...', '1', 'Dubai') #1 /usr/share/nginx/fahry/ocd_live/public_html/system/core/CodeIgniter.php(373): Search->index() #2 /usr/share/nginx/fahry/ocd_live/public_html/index.php(219): require_once('/usr/share/ngin...') #3 {main} thrown in /usr/share/nginx/fahry/ocd_live/public_html/application/models/functions_model.php on line 11189