Closed mpchadwick closed 3 months ago
Hi mpchadwick, we will raise an internal task for this and get back to you. Thanks!
Hi mpchadwick,
We were unable to reproduce this issue using:
Magento ver. 2.4.6-p4 "hyva-themes/magento2-default-theme": "1.3.2" "outeredge/magento-structured-data-module": "4.0.10"
Can you please let me know which versions you are using?
Thanks!
This module causes an error with the default Hyva theme.
Here is what I believe is happening:
This layout directive references the following template path:
Magento_Catalog::product/breadcrumbs.phtml
Hyva puts the template at
Magento_Catalog::product/view/breadcrumbs.phtml
, however, so Magento loads the template fromvendor/magento/module-catalog
instead ofvendor/hyva-themes/magento2-default-theme
.The template at
vendor/magento/module-catalog
references aviewModel
which isn't defined invendor/hyva-themes/magento2-default-theme/Magento_Catalog/layout/catalog_product_view.xml
As such it triggers the error