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

https://jutesenthil.wordpress.com/2018/03/28/solution-for-fatal-error-uncaught-error-call-to-a-member-function-setactive-on-boolean-in-magento2-2-0-dev/


Solution:
Magento2.2.0.dev 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.