« MODx Parse Error »

MODx encountered the following error while attempting to parse the requested resource:
« Execution of a query to the database failed - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'if(window.bbccookies_flag'' at line 1 »
      SQL: SELECT snippet FROM `redomeuk_eatdonthula`.`redo_site_snippets` WHERE `redomeuk_eatdonthula`.`redo_site_snippets`.name='phx://static.bbci.co.uk/frameworks/bbccookies/0.5.1/script/bbccookies.js"><\/script>';if(window.bbccookies_flag';
      [Copy SQL to ClipBoard]
 
Parser timing
  MySQL: 0.0081 s(32 Requests)
  PHP: 0.2590 s 
  Total: 0.2671 s