Questions? Feedback? powered by Olark live chat software
Author Avatar

Magento and Elasticsearch config issue, libxml

Written by: on 21 December 2023 10:17 AM 21 December 2023 10:17 AM


Magento website throws the error containing:

Processed schema file: public_html/vendor/magento/module-elasticsearch/etc/esconfig.xsd
complex type 'mixedDataType': The content model is not determinist.

That may happen after WHM updated EA provided library: ea-libxml2

Magento recommends to downgrade that library which is not good solution.

Temporary fix can be applied instead

Remove the line:

<xs:element type="xs:string" name="default" minOccurs="1" maxOccurs="1" />

in file: /home/<user>/public_html/vendor/magento/module-elasticsearch/etc/esconfig.xsd

That fix works immediately.

Issue discussion on Git:

(0 vote(s))
Not helpful