not a valid subject

SQL1 is SELECT id, name, alpha, bold, bodytext, active, meta, intro, plural FROM subjects WHERE name='Performing Arts' OR plural='Performing Arts' ORDER BY alpha DESC LIMIT 1
SQL2 is
SQL3 is SELECT image_id from image_data where property_type='editorial' AND image_id IN (169571, 114695, 81153, 81151, 81150, 60753, 59278, 58107, 51468, 51211, 50944, 50689, 50110, 49283, 47057, 46840, 46522, 46521, 46520, 46426, 45756, 45755, 45754, 45753, 45491, 45490, 45489, 45488, 45485, 45483, 45385, 45384, 45383, 44947, 44819, 44658, 44657, 44656, 44654, 44430, 44429, 44428, 44427, 44426, 44412, 44220, 43802, 43434, 43433, 43432, 43431, 43430, 43349, 41407, 40336, 38388, 38297, 38204, 36286, 36039, 35341, 34970, 34866, 34349, 34347, 34345, 34344, 33424, 32677, 32608, 32420, 32419, 32306, 32044, 32043, 32042, 31457, 29492, 25719, 24193, 5125) 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 ( [169571] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 171 ) ) [114695] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2014 [viewable] => 2014 [property] => 146 ) ) [81153] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2012 [viewable] => 2012 [property] => 132 ) ) [81151] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2012 [viewable] => 2012 [property] => 132 ) ) [81150] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2012 [viewable] => 2012 [property] => 132 ) ) [60753] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2011 [viewable] => 2011 [property] => 68 ) ) [59278] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2011 [viewable] => 2011 [property] => 139 ) ) [58107] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2011 [viewable] => 2011 [property] => 54 ) ) [51468] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 98 ) ) [51211] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 68 ) ) [50944] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 98 ) ) [50689] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 98 ) ) [50110] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 146 ) ) [49283] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 140 ) ) [47057] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 132 ) ) [46840] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 54 ) ) [46522] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2016 [property] => 131 ) ) [46521] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2016 [property] => 131 ) ) [46520] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2016 [property] => 131 ) ) [46426] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2016 [property] => 131 ) ) [45756] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 132 ) ) [45755] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 132 ) ) [45754] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 132 ) ) [45753] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 132 ) ) [45491] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 132 ) ) [45490] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 132 ) ) [45489] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 132 ) ) [45488] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 132 ) ) [45485] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2016 [property] => 131 ) ) [45483] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2016 [property] => 131 ) ) [45385] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2016 [property] => 131 ) ) [45384] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 132 ) ) [45383] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 132 ) ) [44947] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 146 ) ) [44819] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 98 ) ) [44658] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 132 ) ) [44657] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 132 ) ) [44656] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 132 ) ) [44654] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 132 ) ) [44430] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 132 ) ) [44429] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 132 ) ) [44428] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 132 ) ) [44427] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 132 ) ) [44426] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 132 ) ) [44412] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 132 ) ) [44220] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 144 ) ) [43802] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 98 ) ) [43434] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 132 ) ) [43433] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 132 ) ) [43432] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 132 ) ) [43431] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 132 ) ) [43430] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 132 ) ) [43349] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 132 ) ) [41407] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2009 [viewable] => 2015 [property] => 131 ) ) [40336] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2009 [viewable] => 2009 [property] => 54 ) ) [38388] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2009 [viewable] => 2009 [property] => 100 ) ) [38297] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2009 [viewable] => 2009 [property] => 68 ) ) [38204] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2009 [viewable] => 2009 [property] => 68 ) ) [36286] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2009 [viewable] => 2009 [property] => 68 ) ) [36039] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2009 [viewable] => 2009 [property] => 54 ) ) [35341] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2009 [viewable] => 2009 [property] => 100 ) ) [34970] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2009 [viewable] => 2009 [property] => 146 ) ) [34866] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2009 [viewable] => 2009 [property] => 98 ) ) [34349] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2009 [viewable] => 2013 [property] => 131 ) ) [34347] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2009 [viewable] => 2013 [property] => 131 ) ) [34345] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2009 [viewable] => 2013 [property] => 131 ) ) [34344] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2009 [viewable] => 2013 [property] => 131 ) ) [33424] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2009 [viewable] => 2009 [property] => 146 ) ) [32677] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2009 [viewable] => 2009 [property] => 140 ) ) [32608] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2009 [viewable] => 2009 [property] => 139 ) ) [32420] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2009 [viewable] => 2009 [property] => 138 ) ) [32419] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2009 [viewable] => 2009 [property] => 138 ) ) [32306] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2009 [viewable] => 2009 [property] => 98 ) ) [32044] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2009 [viewable] => 2012 [property] => 131 ) ) [32043] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2009 [viewable] => 2012 [property] => 131 ) ) [32042] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2009 [viewable] => 2012 [property] => 131 ) ) [31457] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2009 [viewable] => 2009 [property] => 100 ) ) [29492] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2009 [viewable] => 2009 [property] => 98 ) ) [25719] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2008 [viewable] => 2008 [property] => 96 ) ) [24193] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2008 [viewable] => 2019 [property] => 100 ) ) [5125] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2003 [viewable] => 2003 [property] => 13 ) ) ) [total] => 81 [total_found] => 81 [time] => 0.000 [words] => Array ( [performing] => Array ( [docs] => 424 [hits] => 467 ) [arts] => Array ( [docs] => 511 [hits] => 683 ) ) )

169571, 114695, 81153, 81151, 81150, 60753, 59278, 58107, 51468, 51211, 50944, 50689, 50110, 49283, 47057, 46840, 46522, 46521, 46520, 46426, 45756, 45755, 45754, 45753, 45491, 45490, 45489, 45488, 45485, 45483, 45385, 45384, 45383, 44947, 44819, 44658, 44657, 44656, 44654, 44430, 44429, 44428, 44427, 44426, 44412, 44220, 43802, 43434, 43433, 43432, 43431, 43430, 43349, 41407, 40336, 38388, 38297, 38204, 36286, 36039, 35341, 34970, 34866, 34349, 34347, 34345, 34344, 33424, 32677, 32608, 32420, 32419, 32306, 32044, 32043, 32042, 31457, 29492, 25719, 24193, 5125