not a valid subject

SQL1 is SELECT id, name, alpha, bold, bodytext, active, meta, intro, plural FROM subjects WHERE name='Trump Putin Summit' OR plural='Trump Putin Summit' ORDER BY alpha DESC LIMIT 1
SQL2 is
SQL3 is SELECT image_id from image_data where property_type='strip' AND image_id IN (177922, 176673, 176589, 175332, 173347, 173296, 173229, 173205, 173153, 173126, 173125, 173085, 173075, 173073, 173072, 173071, 173066, 173064, 173062, 173061, 173059, 173058, 173057, 173056, 173052, 173016, 173015, 173014, 173013, 173011, 173010, 173009, 173008, 173006, 173005, 173004, 172996, 172992, 172916, 172913, 172905, 172899, 172863, 172861, 172826, 172810, 172272, 172266, 172257, 160411, 160410, 160408, 160405, 160262, 160254, 160253, 160247, 160244, 160240, 160237, 160197, 158789) 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 ( [177922] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2019 [viewable] => 2019 [property] => 156 ) ) [176673] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2019 [viewable] => 2019 [property] => 71 ) ) [176589] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2019 [viewable] => 2019 [property] => 84 ) ) [175332] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 156 ) ) [173347] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 170 ) ) [173296] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 156 ) ) [173229] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 84 ) ) [173205] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 71 ) ) [173153] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 111 ) ) [173126] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 71 ) ) [173125] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 166 ) ) [173085] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 84 ) ) [173075] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 111 ) ) [173073] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 78 ) ) [173072] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 55 ) ) [173071] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 84 ) ) [173066] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 1015 ) ) [173064] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 71 ) ) [173062] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 55 ) ) [173061] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 84 ) ) [173059] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 79 ) ) [173058] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 58 ) ) [173057] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 166 ) ) [173056] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 1020 ) ) [173052] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 111 ) ) [173016] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 78 ) ) [173015] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 75 ) ) [173014] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 84 ) ) [173013] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 72 ) ) [173011] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 92 ) ) [173010] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 1020 ) ) [173009] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 156 ) ) [173008] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 156 ) ) [173006] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 173 ) ) [173005] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 62 ) ) [173004] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 71 ) ) [172996] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 93 ) ) [172992] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 62 ) ) [172916] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 75 ) ) [172913] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 84 ) ) [172905] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 166 ) ) [172899] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 111 ) ) [172863] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 84 ) ) [172861] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 58 ) ) [172826] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 62 ) ) [172810] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 84 ) ) [172272] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 58 ) ) [172266] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 71 ) ) [172257] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 168 ) ) [160411] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2017 [viewable] => 2017 [property] => 163 ) ) [160410] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2017 [viewable] => 2017 [property] => 163 ) ) [160408] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2017 [viewable] => 2017 [property] => 1015 ) ) [160405] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2017 [viewable] => 2017 [property] => 173 ) ) [160262] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2017 [viewable] => 2017 [property] => 162 ) ) [160254] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2017 [viewable] => 2017 [property] => 99 ) ) [160253] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2017 [viewable] => 2017 [property] => 93 ) ) [160247] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2017 [viewable] => 2017 [property] => 79 ) ) [160244] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2017 [viewable] => 2017 [property] => 71 ) ) [160240] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2017 [viewable] => 2017 [property] => 156 ) ) [160237] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2017 [viewable] => 2017 [property] => 111 ) ) [160197] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2017 [viewable] => 2017 [property] => 156 ) ) [158789] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2017 [viewable] => 2017 [property] => 84 ) ) ) [total] => 62 [total_found] => 62 [time] => 0.000 [words] => Array ( [trump] => Array ( [docs] => 7340 [hits] => 15791 ) [putin] => Array ( [docs] => 729 [hits] => 1681 ) [summit] => Array ( [docs] => 302 [hits] => 436 ) ) )

177922, 176673, 176589, 175332, 173347, 173296, 173229, 173205, 173153, 173126, 173125, 173085, 173075, 173073, 173072, 173071, 173066, 173064, 173062, 173061, 173059, 173058, 173057, 173056, 173052, 173016, 173015, 173014, 173013, 173011, 173010, 173009, 173008, 173006, 173005, 173004, 172996, 172992, 172916, 172913, 172905, 172899, 172863, 172861, 172826, 172810, 172272, 172266, 172257, 160411, 160410, 160408, 160405, 160262, 160254, 160253, 160247, 160244, 160240, 160237, 160197, 158789