Severity: Notice
Message: Trying to get property 'id' of non-object
Filename: controllers/Ad.php
Line Number: 19
Backtrace:
File: /home/drago/public_html/application/controllers/Ad.php
Line: 19
Function: _error_handler
File: /home/drago/public_html/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/drago/public_html/system/core/Exceptions.php:271)
Filename: core/Common.php
Line Number: 570
Backtrace:
File: /home/drago/public_html/application/models/Ads_mod.php
Line: 818
Function: get
File: /home/drago/public_html/application/controllers/Ad.php
Line: 19
Function: GetAllSelectedFiltersItemsNamesByADId
File: /home/drago/public_html/index.php
Line: 315
Function: require_once
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 ') ORDER BY `id` ASC' at line 4
SELECT `f`.`id`, `fi`.`name` as `fi_name`, `f`.`name` as `f_name` FROM `filters_items` `fi` LEFT JOIN `filters` `f` ON `fi`.`filter_id` = `f`.`id` WHERE fi.id IN (SELECT filter_item_id FROM ads_selected_filters_items WHERE filter_item_id = `fi`.`id` AND `ad_id` = ) ORDER BY `id` ASC
Filename: models/Ads_mod.php
Line Number: 818