Error Number: 1052

Column 'type' in where clause is ambiguous

SELECT `fs_shows`.* FROM (`fs_shows`) LEFT JOIN `fs_show_dates` ON `fs_show_dates`.`show_id` = `fs_shows`.`id` WHERE `type` > '3' AND `archived` = 0 AND `fs_shows`.`type` = '5' AND `active` = 1 AND `fs_shows`.`deleted` = 0 ORDER BY `fs_shows`.`sorting` DESC, isnull(fs_show_dates.date), `fs_show_dates`.`date` ASC, `fs_shows`.`created` DESC, `fs_shows`.`name`

Filename: /web/u/norrt21/site/fs_shows/controllers/fs_shows_frontend.php

Line Number: 232