not a valid subject

SQL1 is SELECT id, name, alpha, bold, bodytext, active, meta, intro, plural FROM subjects WHERE name='Impressionism' OR plural='Impressionism' ORDER BY alpha DESC LIMIT 1
SQL2 is
SQL3 is SELECT image_id from image_data where property_type='editorial' AND image_id IN (161836, 118210, 117557, 96141, 78714, 78263, 70431, 45466, 41019, 29622, 1876) 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 ( [161836] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2017 [viewable] => 2017 [property] => 147 ) ) [118210] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2014 [viewable] => 2014 [property] => 160 ) ) [117557] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2014 [viewable] => 2014 [property] => 13 ) ) [96141] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2013 [viewable] => 2013 [property] => 54 ) ) [78714] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2012 [viewable] => 2012 [property] => 94 ) ) [78263] => Array ( [weight] => 2 [attrs] => Array ( [published] => 1981 [viewable] => 2013 [property] => 169 ) ) [70431] => Array ( [weight] => 1 [attrs] => Array ( [published] => 1989 [viewable] => 1989 [property] => 13 ) ) [45466] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 100 ) ) [41019] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2009 [viewable] => 2009 [property] => 146 ) ) [29622] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2009 [viewable] => 2009 [property] => 13 ) ) [1876] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2002 [viewable] => 2002 [property] => 54 ) ) ) [total] => 11 [total_found] => 11 [time] => 0.000 [words] => Array ( [impressionism] => Array ( [docs] => 11 [hits] => 15 ) ) )

161836, 118210, 117557, 96141, 78714, 78263, 70431, 45466, 41019, 29622, 1876