An uncaught Exception was encountered

Type: Error

Message: Call to undefined function array_key_last()

Filename: /var/www/mot.ski.is/public_html/application/modules/events/controllers/Events.php

Line Number: 1878

Backtrace:

File: /var/www/mot.ski.is/public_html/index.php
Line: 315
Function: require_once