An uncaught Exception was encountered

Type: TypeError

Message: in_array(): Argument #2 ($haystack) must be of type array, null given

Filename: /var/www/vhosts/ci3/application/controllers/shop/Details.php

Line Number: 242

Backtrace:

File: /var/www/vhosts/ci3/application/controllers/shop/Details.php
Line: 242
Function: in_array

File: /var/www/vhosts/shop7thavenue.com/httpdocs/index.php
Line: 580
Function: require_once