Open Demoli opened 1 month ago
@Demoli In order to help you further, can you help me with the below notes.
Klevu Metadata version
Klevu module version
klevu/module-metadata:1.5.0
klevu/module-search:3.6.1
Thank you.
Thanks @Demoli
We are checking further internally and get back to you.
Klevu Metadata module is used for generating klevu_page_meta
js variable which is used by klevu_recommendations module.
I have tried to reproduce with below prerequisites but could not replicate the same.
klevu_page_meta
We are encountering a crash in magento/module-product-video which may be related to klevu/module-metadata and
We have a configurable product with external videos, it has two simple children also with external videos.
When viewing the product page we get this error at
Error: Call to a member function getVideoProvider() on null in /vendor/magento/module-product-video/Model/Product/Attribute/Media/ExternalVideoEntryConverter.php:87
My suspicion is that when this module tries to get the first child product on
vendor/klevu/module-metadata/Provider/ProductMetadataProvider/Configurable.php:109
the product's extension attributes are not being loaded, so we get a null object on$videoContent = $entry->getExtensionAttributes()->getVideoContent();
Disabling klevu/module-metadata stops the crash, so it does seem to be related to this child product fetch.