tivents / wordpress-plugin

Präsentieren Sie Ihre Produkte von tivents innerhalb Ihrer Wordpress-Seite mittels Shortcode via API.
https://docs.tivents.info/books/wordpress-plugin
0 stars 0 forks source link

UnhandledMatchError: Unhandled match case 3 #10

Open sentry-issue-linker[bot] opened 10 months ago

sentry-issue-linker[bot] commented 10 months ago

Sentry Issue: PRODUCT-API-3N

UnhandledMatchError: Unhandled match case 3
  File "/var/www/tivents.systems/product/app/controllers/Helpers/Products.php", line 124, in Helpers\Products::setCategories
    $categoriesArray[] = match ($product['product_type']) {
  File "/var/www/tivents.systems/product/app/controllers/Shopware.php", line 149, in Shopware::setProductData
    $productRequestData['categories'] = $productHelper->setCategories($product['globalid']);
  File "/var/www/tivents.systems/product/app/controllers/Shopware.php", line 70, in Shopware::createProduct
    $productRequestData = $this->setProductData($product);
  File "/var/www/tivents.systems/product/app/controllers/ProductsController.php", line 245, in ProductsController::createProductInPlatform
    return $productController->createProduct($productId);
  File "/var/www/tivents.systems/product/app/controllers/Shopware/SyncController.php", line 17, in Shopware\SyncController::syncProduct
    $result = $productController->createProductInPlatform($product['globalid'], 2);
...
(8 additional frame(s) were not displayed)