An uncaught Exception was encountered

Type: ArgumentCountError

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

Filename: /home/mirzafabric/public_html/application/controllers/Product.php

Line Number: 16

Backtrace:

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