A PHP Error was encountered

Severity: Notice

Message: Undefined variable: flags_query

Filename: propel_classes/JobPeer.php

Line Number: 137


Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 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 '' at line 1' in /home/kreisandcompany/www_includes/kandc/propel_classes/JobPeer.php:141 Stack trace: #0 /home/kreisandcompany/www_includes/kandc/propel_classes/JobPeer.php(141): PDOStatement->execute() #1 /home/kreisandcompany/www/system/application/controllers/flags.php(55): JobPeer::get_jobs_by_flags_key_name_count('javascript', 'all') #2 [internal function]: Flags->index('javascript', 'all') #3 /home/kreisandcompany/www/system/codeigniter/CodeIgniter.php(224): call_user_func_array(Array, Array) #4 /home/kreisandcompany/www/index.php(142): require_once('/home/kreisandc...') #5 {main} thrown in /home/kreisandcompany/www_includes/kandc/propel_classes/JobPeer.php on line 141