cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Magento 2

Error in Magento 2

My site was running fine. I run below commands

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento indexer:reindex
php bin/magento setup:di:compile
php bin/magento cache:clean
php bin/magento cache:flush   

After that I am getting below error.



1 REPLY 1

Re: Error in Magento 2

Hi @foysal,

 

This issue occurs due to some invalid attributes in the layout xml. If you have added any custom module recently then there is some issue in the layout XML of that module. 

In one of layout xml with link tag they have added href property as well which is not allowed.

 

Try to remove that or disable the xml file.

 

Hope this helps you.

Problem Solved! Click Kudos & Accept as Solution!