Solution for : “Fatal error: Uncaught Error: Call to a member function setActive() on boolean in

Solution: version onwards we can find one more new folder which is introduce by magento team. Folder name called “generated” in root the project. This is auto generated folder.  Delete “root/generated/metadata” folder & run the deploy command (again same folder will create). The website start works after delete the folder.

Scroll to Top