An Error Was Encountered

Error Number:

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

SELECT eh.id, eh.org_id, eh.type_id, eh.display_title, eh.start_time, eh.end_time, eh.description, ei.start_date, eh.other_location, el.name as location, org.name as organization FROM event_header eh INNER JOIN event_instance ei ON ( eh.id = ei.header_id ) INNER JOIN location el ON ( eh.loc_id = el.id ) INNER JOIN organization org ON ( eh.org_id = 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;