A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: controllers/store.php

Line Number: 866


Fatal error: Uncaught exception 'Exception' with message 'List is empty' in /home4/bn4ksdfl/public_html/application/libraries/Item/Item_Sort_Focus_Accredited_Store.php:23 Stack trace: #0 /home4/bn4ksdfl/public_html/application/libraries/Item/Item_Sort_Focus_Accredited_Store.php(59): Item_Sort_Focus_Accredited_Store->calculate_point(Object(Item_List)) #1 /home4/bn4ksdfl/public_html/application/libraries/Item/Item_List.php(36): Item_Sort_Focus_Accredited_Store->sort(Object(Item_List)) #2 /home4/bn4ksdfl/public_html/application/controllers/store.php(871): Item_List->sort() #3 [internal function]: Store->the_store_page('stone-lantern-d...') #4 /home4/bn4ksdfl/public_html/system/core/CodeIgniter.php(359): call_user_func_array(Array, Array) #5 /home4/bn4ksdfl/public_html/index.php(202): require_once('/home4/bn4ksdfl...') #6 {main} thrown in /home4/bn4ksdfl/public_html/application/libraries/Item/Item_Sort_Focus_Accredited_Store.php on line 23