not a valid subject

SQL1 is SELECT id, name, alpha, bold, bodytext, active, meta, intro, plural FROM subjects WHERE name='Gun Lock' OR plural='Gun Lock' ORDER BY alpha DESC LIMIT 1
SQL2 is
SQL3 is SELECT image_id from image_data where property_type='strip' AND image_id IN (169041, 159348, 136143, 135145, 133596, 110859, 101864, 91922, 49702, 7572, 642) 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 ( [169041] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 156 ) ) [159348] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2017 [viewable] => 2017 [property] => 84 ) ) [136143] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2015 [viewable] => 2015 [property] => 84 ) ) [135145] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2015 [viewable] => 2015 [property] => 111 ) ) [133596] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2015 [viewable] => 2015 [property] => 111 ) ) [110859] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2014 [viewable] => 2014 [property] => 111 ) ) [101864] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2013 [viewable] => 2019 [property] => 71 ) ) [91922] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2013 [viewable] => 2017 [property] => 58 ) ) [49702] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 111 ) ) [7572] => Array ( [weight] => 1 [attrs] => Array ( [published] => 1999 [viewable] => 2017 [property] => 78 ) ) [642] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2000 [viewable] => 2002 [property] => 55 ) ) ) [total] => 11 [total_found] => 11 [time] => 0.000 [words] => Array ( [gun] => Array ( [docs] => 2197 [hits] => 4132 ) [lock] => Array ( [docs] => 320 [hits] => 592 ) ) )

169041, 159348, 136143, 135145, 133596, 110859, 101864, 91922, 49702, 7572, 642