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 12 forks source link

[BUG] Undefined array key "doktype" #413

Open eiranix opened 1 month ago

eiranix commented 1 month ago

Log is filled with: Core: Error handler (BE): PHP Warning: Undefined array key "doktype" in /app/vendor/symfony/expression-language/Node/GetAttrNode.php line 97

TYPO3 11.5.38 Product Manager 11.0.16 PHP 8.1.29

MattiasNilsson commented 1 month ago

@eiranix We are open for all contributions.

eiranix commented 1 month ago

@MattiasNilsson Looks like a way to stop it flooding the error log is: Configuration/TempPluginRenderer/ProductRender.typoscript [page["doktype"] == 9] to [page&&page["doktype"] == 9]

eiranix commented 1 month ago

Pull Request: https://github.com/pixelant/pxa_product_manager/pull/415#issue-2405265310