Error thrown

Call to undefined function events_view()