Notice: Undefined variable: events in /var/www/html/api/events.php on line 10

Warning: Invalid argument supplied for foreach() in /var/www/html/api/events.php on line 12