An uncaught Exception was encountered

Type: ArgumentCountError

Message: Too few arguments to function Login::index(), 0 passed in /home/flatsandmates/public_html/system/core/CodeIgniter.php on line 532 and exactly 2 expected

Filename: /home/flatsandmates/public_html/application/controllers/Login.php

Line Number: 5

Backtrace:

File: /home/flatsandmates/public_html/index.php
Line: 317
Function: require_once