not a valid subject

SQL1 is SELECT id, name, alpha, bold, bodytext, active, meta, intro, plural FROM subjects WHERE name='Julian Castro' OR plural='Julian Castro' ORDER BY alpha DESC LIMIT 1
SQL2 is
SQL3 is SELECT image_id from image_data where property_type='strip' AND image_id IN (178900, 178851, 178341, 178340, 178319, 178313, 178071, 178016, 177372, 142896, 142291, 126039, 117864, 111971, 101518, 87378, 86055) 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 ( [178900] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2019 [viewable] => 2019 [property] => 75 ) ) [178851] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2019 [viewable] => 2019 [property] => 1020 ) ) [178341] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2019 [viewable] => 2019 [property] => 1020 ) ) [178340] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2019 [viewable] => 2019 [property] => 156 ) ) [178319] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2019 [viewable] => 2019 [property] => 62 ) ) [178313] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2019 [viewable] => 2019 [property] => 62 ) ) [178071] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2019 [viewable] => 2019 [property] => 1020 ) ) [178016] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2019 [viewable] => 2019 [property] => 75 ) ) [177372] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2019 [viewable] => 2019 [property] => 92 ) ) [142896] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 163 ) ) [142291] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 163 ) ) [126039] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2015 [viewable] => 2015 [property] => 163 ) ) [117864] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2014 [viewable] => 2014 [property] => 163 ) ) [111971] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2014 [viewable] => 2014 [property] => 163 ) ) [101518] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2013 [viewable] => 2013 [property] => 163 ) ) [87378] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2012 [viewable] => 2012 [property] => 163 ) ) [86055] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2012 [viewable] => 2012 [property] => 163 ) ) ) [total] => 17 [total_found] => 17 [time] => 0.000 [words] => Array ( [julian] => Array ( [docs] => 36 [hits] => 71 ) [castro] => Array ( [docs] => 148 [hits] => 304 ) ) )

178900, 178851, 178341, 178340, 178319, 178313, 178071, 178016, 177372, 142896, 142291, 126039, 117864, 111971, 101518, 87378, 86055