A PHP Error was encountered

Severity: Notice

Message: Undefined variable: filter

Filename: views/viewleaderboard.php

Line Number: 318

Backtrace:

File: /var/www/vhosts/onlinegolfapp.com/httpdocs/application/views/viewleaderboard.php
Line: 318
Function: _error_handler

File: /var/www/vhosts/onlinegolfapp.com/httpdocs/application/controllers/Tournament.php
Line: 1951
Function: view

File: /var/www/vhosts/onlinegolfapp.com/httpdocs/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: views/viewleaderboard.php

Line Number: 318

Backtrace:

File: /var/www/vhosts/onlinegolfapp.com/httpdocs/application/views/viewleaderboard.php
Line: 318
Function: _error_handler

File: /var/www/vhosts/onlinegolfapp.com/httpdocs/application/controllers/Tournament.php
Line: 1951
Function: view

File: /var/www/vhosts/onlinegolfapp.com/httpdocs/index.php
Line: 316
Function: require_once