« 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 ''phx:(function(k,v){return encodeURIComponent(k)+''' at line 1 »
      SQL: SELECT snippet FROM redomeuk_eat_dont_hula.`redo_site_snippets` WHERE redomeuk_eat_dont_hula.`redo_site_snippets`.name='phx:(function(k,v){return encodeURIComponent(k)+'';
      [Copy SQL to ClipBoard]
Parser timing
  MySQL: 0.0126 s(2 Requests)
  PHP: 1.2829 s 
  Total: 1.2955 s