pixelant / pxa_product_manager

Product Manager. Allow to create and list products on a site. Create dynamical attributes for products. Filter by categories and attributes
11 stars 14 forks source link

Fix undefined array index in DetectSerializedValue Solr hook #399

Closed lneugebauer closed 1 year ago

lneugebauer commented 1 year ago

New Pull Request checklist

PR Type

What kind of change does this PR introduce?

Breaking change

Does this PR introduce a breaking change?

Description

System

Error message

While indexing products the indexer throws the following error message for fields that do not have a user function defined. Like keywords for example.

1476107295: TYPO3\CMS\Core\Error\Exception: PHP Warning: Undefined array key "userFunc" in /path/to/pxa_product_manager/Classes/Hook/Solr/DetectSerializedValue.php line 32 in /path/to/public/typo3/sysext/core/Classes/Error/ErrorHandler.php:137