Invalid argument supplied for foreach()
ErrorException in /var/www/linzarius.ru/html/wp-content/themes/tsarapka/pug_templates/components/Cart/Cart.pug:
Invalid argument supplied for foreach() on line 4, offset 3
mixin Cart(props)
	- dataset= props.items
	.Cart
		each item in dataset
			+StackCard()(data-cart-id= item.cart_key, data-product-id= item.product_id, class= 'StackCard--product')
				a.Cart-image(href= item.href)
					+Image(item.img)
				.Cart-info
					a.Cart-label(href= item.href) !{item.label}
				.Cart-control
					if !props.readonly
## /var/www/linzarius.ru/html/wp-content/cache/fuomDmUf8_sYZykz4f_w4cT_0V57T67J7fv-CNz8HKsIZAf0Dn66a6Y5JJDLeLGYW6a2ckmwpuuuOmhfdJQoNQ.php(2580)
#0 /var/www/linzarius.ru/html/wp-content/cache/fuomDmUf8_sYZykz4f_w4cT_0V57T67J7fv-CNz8HKsIZAf0Dn66a6Y5JJDLeLGYW6a2ckmwpuuuOmhfdJQoNQ.php(2580): Phug\Util\SandBox->Phug\Util\{closure}(2, 'Invalid argumen...', '/var/www/linzar...', 2580, Array)
#1 /var/www/linzarius.ru/html/wp-content/cache/fuomDmUf8_sYZykz4f_w4cT_0V57T67J7fv-CNz8HKsIZAf0Dn66a6Y5JJDLeLGYW6a2ckmwpuuuOmhfdJQoNQ.php(5124): Phug\Renderer\Adapter\FileAdapter->{closure}(false, Array, Array, Array, Object(Closure))
#2 /var/www/linzarius.ru/html/wp-content/plugins/osa-multifield/vendor/phug/renderer/src/Phug/Renderer/Adapter/FileAdapter.php(89): include('/var/www/linzar...')
#3 [internal function]: Phug\Renderer\Adapter\FileAdapter->Phug\Renderer\Adapter\{closure}()
#4 /var/www/linzarius.ru/html/wp-content/plugins/osa-multifield/vendor/phug/renderer/src/Phug/Renderer/Adapter/FileAdapter.php(90): call_user_func(Object(Closure))
#5 /var/www/linzarius.ru/html/wp-content/plugins/osa-multifield/vendor/phug/renderer/src/Phug/Renderer/Partial/AdapterTrait.php(128): Phug\Renderer\Adapter\FileAdapter->displayCached('/var/www/linzar...', NULL, Object(Closure), Array)
#6 /var/www/linzarius.ru/html/wp-content/plugins/osa-multifield/vendor/phug/renderer/src/Phug/Renderer/Partial/AdapterTrait.php(132): Phug\Renderer->Phug\Renderer\Partial\{closure}()
#7 /var/www/linzarius.ru/html/wp-content/themes/tsarapka/vendor/phug/util/src/Phug/Util/SandBox.php(38): Phug\Renderer->Phug\Renderer\Partial\{closure}()
#8 /var/www/linzarius.ru/html/wp-content/plugins/osa-multifield/vendor/phug/renderer/src/Phug/Renderer/Partial/AdapterTrait.php(100): Phug\Util\SandBox->__construct(Object(Closure), NULL)
#9 /var/www/linzarius.ru/html/wp-content/plugins/osa-multifield/vendor/phug/renderer/src/Phug/Renderer/Partial/AdapterTrait.php(142): Phug\Renderer->getNewSandBox(Object(Closure))
#10 /var/www/linzarius.ru/html/wp-content/plugins/osa-multifield/vendor/phug/renderer/src/Phug/Renderer/Partial/AdapterTrait.php(208): Phug\Renderer->getSandboxCall('', 'display', '/var/www/linzar...', NULL, Object(Closure), Array)
#11 /var/www/linzarius.ru/html/wp-content/plugins/osa-multifield/vendor/phug/renderer/src/Phug/Renderer.php(251): Phug\Renderer->callAdapter('display', '/var/www/linzar...', NULL, Object(Closure), Array)
#12 /var/www/linzarius.ru/html/wp-content/plugins/osa-multifield/vendor/pug-php/pug/src/Pug/Engine/Renderer.php(175): Phug\Renderer->displayFile('/var/www/linzar...', Array)
#13 /var/www/linzarius.ru/html/wp-content/themes/tsarapka/inc/Template.php(56): Pug\Engine\Renderer->displayFile('/var/www/linzar...', Array)
#14 /var/www/linzarius.ru/html/wp-content/themes/tsarapka/page.php(40): TSARAPKA\Theme\Template->render('pages/cart.pug', Array)
#15 /var/www/linzarius.ru/html/wp-includes/template-loader.php(98): include('/var/www/linzar...')
#16 /var/www/linzarius.ru/html/wp-blog-header.php(19): require_once('/var/www/linzar...')
#17 /var/www/linzarius.ru/html/index.php(17): require('/var/www/linzar...')
#18 {main}
$parameters = 
array:4 [
  "template_directory" => "https://linzarius.ru/wp-content/themes/tsarapka"
  "title" => "Cart"
  "content" => "<div class="woocommerce"><div class="woocommerce-notices-wrapper"></div><p class="cart-empty woocommerce-info">Ваша корзина пока пуста.</p> <p class="return-to-shop"> <a class="button wc-backward" href="https://linzarius.ru/"> Вернуться в магазин </a> </p> </div> "
  "cart" => array:4 [
    "items" => null
    "total" => " <span class="woocommerce-Price-amount amount"> <span class="woocommerce-Price-currencySymbol">&#8381;</span>0.00</span>"
    "count" => "0 товаров"
    "checkoutLink" => "https://linzarius.ru/checkout/"
  ]
]