An Error Was Encountered

Error Number:

ERROR: missing FROM-clause entry for table "privacy" LINE 34: LIMIT 10 OFFSET privacy.php; ^

SELECT, eh.org_id, eh.type_id, eh.display_title, eh.start_time, eh.end_time, eh.description, ei.start_date, eh.other_location, as location, as organization FROM event_header eh INNER JOIN event_instance ei ON ( = ei.header_id ) INNER JOIN location el ON ( eh.loc_id = ) INNER JOIN organization org ON ( eh.org_id = )WHERE eh.approved = true AND eh.unytc_disp = true AND ei.start_date BETWEEN '2012-2-29' AND '2012-2-29' ORDER BY ei.start_date LIMIT 10 OFFSET privacy.php;