Error message

Warning: Invalid argument supplied for foreach() in photonics_country_management_remove_country() (line 48 of modules/custom/photonics_country_management/includes/system.inc). photonics_country_management_remove_country(NULL, Array) (Line: 31) photonics_country_management_form_alter(Array, Object, 'photonics_shipping_simulator_modal_form') (Line: 539) Drupal\Core\Extension\ModuleHandler->alter('form', Array, Object, 'photonics_shipping_simulator_modal_form') (Line: 834) Drupal\Core\Form\FormBuilder->prepareForm('photonics_shipping_simulator_modal_form', Array, Object) (Line: 276) Drupal\Core\Form\FormBuilder->buildForm('photonics_shipping_simulator_modal_form', Object) (Line: 93) Drupal\Core\Controller\FormController->getContentResult(Object, Object) call_user_func_array(Array, Array) (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 582) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 151) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 50) Drupal\ban\BanMiddleware->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 693) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

Your shopping cart is empty.