An uncaught Exception was encountered

Type: ArgumentCountError

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

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

Line Number: 10

Backtrace:

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