- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2020
10:28 AM
07-04-2020
10:28 AM
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.


Labels:
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2020
10:42 AM
07-04-2020
10:42 AM
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!