Manage calendars



Notice: Trying to get property of non-object in /home/gerillah/public_html/pewjum/classes/calendar.php on line 122
Error: 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 events.calendar_id=calendars.calendar_id)>0' at line 1 ; query: SELECT distinct calendars.calendar_id, calendars.name, calendars.description, calendars.guid, calendars.user_id, calendars.creation_date, calendars.end_of_subscription, calendars.with_registration_only, calendars.timezone, calendars.participation_group_id FROM calendars WHERE (SELECT count(*) FROM events LEFT JOIN events_users ON events.event_id=events_users.event_id WHERE events_users.user_id= AND events.calendar_id=calendars.calendar_id)>0;#0 MysqlWrapper->ExecuteQuery(SELECT distinct calendars.calendar_id, calendars.name, calendars.description, calendars.guid, calendars.user_id, calendars.creation_date, calendars.end_of_subscription, calendars.with_registration_only, calendars.timezone, calendars.participation_group_id FROM calendars WHERE (SELECT count(*) FROM events LEFT JOIN events_users ON events.event_id=events_users.event_id WHERE events_users.user_id= AND events.calendar_id=calendars.calendar_id)>0;) called at [/home/gerillah/public_html/pewjum/general/database.php:53] #1 Database::ExecuteQuery(SELECT distinct calendars.calendar_id, calendars.name, calendars.description, calendars.guid, calendars.user_id, calendars.creation_date, calendars.end_of_subscription, calendars.with_registration_only, calendars.timezone, calendars.participation_group_id FROM calendars WHERE (SELECT count(*) FROM events LEFT JOIN events_users ON events.event_id=events_users.event_id WHERE events_users.user_id= AND events.calendar_id=calendars.calendar_id)>0;) called at [/home/gerillah/public_html/pewjum/classes/calendar.php:125] #2 AdminCalendar::GetCalendarParticipationList() called at [/home/gerillah/public_html/pewjum/content/manage_calendars.php:70] #3 PrintManageCalendarsPage() called at [/home/gerillah/public_html/pewjum/content/page_switch.php:43] #4 LoadPage() called at [/home/gerillah/public_html/pewjum/content/main_page.php:80] #5 BodyCore() called at [/home/gerillah/public_html/pewjum/content/main_page.php:60] #6 MainPage() called at [/home/gerillah/public_html/pewjum/application.php:29] #7 Application::LoadPage() called at [/home/gerillah/public_html/pewjum/index.php:33]
Fatal error: Call to a member function GetCalendarsWhereItIsSetAsAdmin() on a non-object in /home/gerillah/public_html/pewjum/classes/calendar.php on line 132