not a valid subject

SQL1 is SELECT id, name, alpha, bold, bodytext, active, meta, intro, plural FROM subjects WHERE name='Tim Ryan' OR plural='Tim Ryan' ORDER BY alpha DESC LIMIT 1
SQL2 is
SQL3 is SELECT image_id from image_data where property_type='strip' AND image_id IN (178851, 178341, 178313, 166477) 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 ( [178851] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2019 [viewable] => 2019 [property] => 1020 ) ) [178341] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2019 [viewable] => 2019 [property] => 1020 ) ) [178313] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2019 [viewable] => 2019 [property] => 62 ) ) [166477] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2017 [viewable] => 2017 [property] => 84 ) ) ) [total] => 4 [total_found] => 4 [time] => 0.000 [words] => Array ( [tim] => Array ( [docs] => 198 [hits] => 300 ) [ryan] => Array ( [docs] => 410 [hits] => 896 ) ) )

178851, 178341, 178313, 166477