not a valid subject

SQL1 is SELECT id, name, alpha, bold, bodytext, active, meta, intro, plural FROM subjects WHERE name='Mar-a-Lago' OR plural='Mar-a-Lago' ORDER BY alpha DESC LIMIT 1
SQL2 is
SQL3 is SELECT image_id from image_data where property_type='strip' AND image_id IN (180178, 179348, 179161, 177554, 177480, 177280, 177181, 176258, 175706, 174913, 173839, 173294, 172843, 172066, 169110, 167363, 163093, 162058, 158823, 157468, 156994, 156649, 156120, 155883, 155576, 154985, 154716, 144123) LIMIT 1

Array ( [error] => [warning] => [status] => 0 [fields] => Array ( [0] => keywords [1] => participants [2] => setting [3] => caption ) [attrs] => Array ( [published] => 2 [viewable] => 2 [property] => 1 ) [matches] => Array ( [180178] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2019 [viewable] => 2019 [property] => 1020 ) ) [179348] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2019 [viewable] => 2019 [property] => 166 ) ) [179161] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2019 [viewable] => 2019 [property] => 1020 ) ) [177554] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2019 [viewable] => 2019 [property] => 84 ) ) [177480] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2019 [viewable] => 2019 [property] => 58 ) ) [177280] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2019 [viewable] => 2019 [property] => 72 ) ) [177181] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2019 [viewable] => 2019 [property] => 1020 ) ) [176258] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2019 [viewable] => 2019 [property] => 1020 ) ) [175706] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2019 [viewable] => 2019 [property] => 1020 ) ) [174913] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 1020 ) ) [173839] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 156 ) ) [173294] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 156 ) ) [172843] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 1020 ) ) [172066] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 58 ) ) [169110] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 58 ) ) [167363] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 156 ) ) [163093] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2017 [viewable] => 2017 [property] => 75 ) ) [162058] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2017 [viewable] => 2017 [property] => 156 ) ) [158823] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2017 [viewable] => 2017 [property] => 162 ) ) [157468] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2017 [viewable] => 2017 [property] => 84 ) ) [156994] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2017 [viewable] => 2017 [property] => 62 ) ) [156649] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2017 [viewable] => 2017 [property] => 99 ) ) [156120] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2017 [viewable] => 2017 [property] => 62 ) ) [155883] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2017 [viewable] => 2017 [property] => 162 ) ) [155576] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2017 [viewable] => 2017 [property] => 75 ) ) [154985] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2017 [viewable] => 2017 [property] => 156 ) ) [154716] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2017 [viewable] => 2017 [property] => 84 ) ) [144123] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 58 ) ) ) [total] => 28 [total_found] => 28 [time] => 0.000 [words] => Array ( [mar-a-lago] => Array ( [docs] => 28 [hits] => 46 ) ) )

180178, 179348, 179161, 177554, 177480, 177280, 177181, 176258, 175706, 174913, 173839, 173294, 172843, 172066, 169110, 167363, 163093, 162058, 158823, 157468, 156994, 156649, 156120, 155883, 155576, 154985, 154716, 144123