Warning: Undefined array key "shopcard" in Drupal\apectrl\Controller\ShopcartController->content() (line 40 of modules/custom/apectrl/src/Controller/ShopcartController.php).
Deprecated function: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in Drupal\apectrl\Controller\ShopcartController->content() (line 40 of modules/custom/apectrl/src/Controller/ShopcartController.php).
Warning: foreach() argument must be of type array|object, null given in Drupal\apectrl\Controller\ShopcartController->content() (line 46 of modules/custom/apectrl/src/Controller/ShopcartController.php).