Notice: Trying to get property of non-object in /home/cat/domains/ on line 203

Fatal error: Uncaught <!-- Debug info --> <div style="width:800px;margin:auto;margin-top:70px;font-family:Tahoma;"><h1 style="font-size:200%;color:#71901C;;padding:0px;margin:0px;">system error</h1></div><div style="font-size:0.9em;width:800px;margin:auto;margin-top:30px;padding:10px;border:solid 1px #E2E2E2;text-align:center;font-family:Tahoma;"><br /><br /> 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 '?) LIMIT 1' at line 1. Failing Query: "SELECT `p`.`id` AS `p__id`, `p`.`page_id` AS `p__page_id`, `p`.`meta` AS `p__meta` FROM `page_header` `p` WHERE (`p`.`page_id` = ?) LIMIT 1"<br /><br />4k CMS 2.2.1 - [chaos] $Revision: 312 $ </div> thrown in /home/cat/domains/ on line 1082