YotpoLtd / magento2-module-yotpo-reviews

Open Software License 3.0
23 stars 38 forks source link

main.INFO: Broken reference: the 'yotpo_bottomline' in system.log #280

Open lytesaber opened 2 years ago

lytesaber commented 2 years ago

Magento Open Source 2.4.3-p1

Consistently get messages in system.log when loading the product view when Yotpo integration is configured and enabled.

main.INFO: Broken reference: the 'yotpo_bottomline' element cannot be added as child to 'product.info.main', because the latter doesn't exist main.INFO: Broken reference: the 'yotpo_bottomline' tries to reorder itself towards 'product.info.addto', but their parents are different: 'product.info.main' and '' respectively.

kamephis commented 1 year ago

@lytesaber are you using a custom theme? The default catalog_product_view.xml contains the container product.info.main. Maybe you've removed them in your custom theme. If you don't use the product.info.main container you can remove it in your default.xml

<referenceBlock name="product.info.main" remove="true"/>