A PHP Error was encountered

Severity: Notice

Message: Undefined variable: events

Filename: views/events_page.php

Line Number: 4

Backtrace:

File: /home/neuedu/public_html/main/application/views/events_page.php
Line: 4
Function: _error_handler

File: /home/neuedu/public_html/main/application/controllers/Main_Controller.php
Line: 22
Function: view

File: /home/neuedu/public_html/main/application/controllers/Event.php
Line: 17
Function: view

File: /home/neuedu/public_html/main/application/controllers/Event.php
Line: 12
Function: index

File: /home/neuedu/public_html/main/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: views/events_page.php

Line Number: 4

Backtrace:

File: /home/neuedu/public_html/main/application/views/events_page.php
Line: 4
Function: _error_handler

File: /home/neuedu/public_html/main/application/controllers/Main_Controller.php
Line: 22
Function: view

File: /home/neuedu/public_html/main/application/controllers/Event.php
Line: 17
Function: view

File: /home/neuedu/public_html/main/application/controllers/Event.php
Line: 12
Function: index

File: /home/neuedu/public_html/main/index.php
Line: 315
Function: require_once