Jump to content
  • 0

Błąd przy dodawaniu produktu do zamówienia


.WhiteBlue

Question

Witam. Mam problem z dodaniem produktu do zamówienia. Gdy zaczynam pisać frazę w konsoli pod F12 wyskakuje błąd 502 z linkiem:

Type error: Argument 8 passed to PrestaShop\PrestaShop\Core\Domain\Product\QueryResult\ProductCombination::__construct() must be of the type string, null given, called in /public_html/src/Adapter/Product/QueryHandler/SearchProductsHandler.php on line 273

[Symfony\Component\Debug\Exception\FatalThrowableError 0]

Problem dotyczy tego kodu:
 

                $productCombination = new ProductCombination(
                    $productAttributeId,
                    $attribute,
                    $combination['quantity'],
                    $this->contextLocale->formatPrice($priceTaxExcluded, $currencyIsoCode),
                    $priceTaxExcluded,
                    $priceTaxIncluded,
                    $combination['location'],
                    $combination['reference']
                );

 

A dokładniej

$combination['reference']


Proszę o pomoc 😕

Edited by .WhiteBlue (see edit history)
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...