« 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 'AND location_type='RESORT' AND enable=1' at line 1 »
      SQL: SELECT name FROM fp_sb_dining WHERE location_id = AND location_type='RESORT' AND enable=1
      [Copy SQL to ClipBoard]
 
Parser timing
  MySQL: 0.0046 s(8 Requests)
  PHP: 0.0625 s 
  Total: 0.0670 s 
MODx Content Manager »

« MODx Parse Error »

MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
 
PHP error debug
  Error: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. 
  Error type/ Nr.: - 8192 
  File: /var/www/vhosts/freshpeaks.com/httpdocs/manager/includes/document.parser.class.inc.php 
  Line: 1298 
  Line 1298 source: $msg= mysql_escape_string($msg);  
 
Parser timing
  MySQL: 0.0046 s(8 Requests)
  PHP: 0.0639 s 
  Total: 0.0684 s