not a valid subject

SQL1 is SELECT id, name, alpha, bold, bodytext, active, meta, intro, plural FROM subjects WHERE name='Ted Kennedy Obituary' OR plural='Ted Kennedy Obituary' ORDER BY alpha DESC LIMIT 1
SQL2 is
SQL3 is SELECT image_id from image_data where property_type='strip' AND image_id IN (38173, 38035, 37919, 37887, 37886, 37885, 37884, 37883, 37882, 37856, 37855) 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 ( [38173] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2009 [viewable] => 2009 [property] => 72 ) ) [38035] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2009 [viewable] => 2009 [property] => 79 ) ) [37919] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2009 [viewable] => 2009 [property] => 58 ) ) [37887] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2009 [viewable] => 2009 [property] => 84 ) ) [37886] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2009 [viewable] => 2009 [property] => 92 ) ) [37885] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2009 [viewable] => 2009 [property] => 99 ) ) [37884] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2009 [viewable] => 2009 [property] => 111 ) ) [37883] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2009 [viewable] => 2009 [property] => 93 ) ) [37882] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2009 [viewable] => 2009 [property] => 82 ) ) [37856] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2009 [viewable] => 2009 [property] => 58 ) ) [37855] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2009 [viewable] => 2009 [property] => 71 ) ) ) [total] => 11 [total_found] => 11 [time] => 0.000 [words] => Array ( [ted] => Array ( [docs] => 714 [hits] => 1289 ) [kennedy] => Array ( [docs] => 219 [hits] => 508 ) [obituary] => Array ( [docs] => 424 [hits] => 473 ) ) )

38173, 38035, 37919, 37887, 37886, 37885, 37884, 37883, 37882, 37856, 37855