{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/2502","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/2502/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/2502/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/2502/events","html_url":"https://github.com/magento/magento2/issues/2502","id":118645798,"number":2502,"title":"Fatal error: Cannot instantiate interface","user":{"login":"bvboas","id":13635432,"avatar_url":"https://avatars1.githubusercontent.com/u/13635432?v=4","gravatar_id":"","url":"https://api.github.com/users/bvboas","html_url":"https://github.com/bvboas","followers_url":"https://api.github.com/users/bvboas/followers","following_url":"https://api.github.com/users/bvboas/following{/other_user}","gists_url":"https://api.github.com/users/bvboas/gists{/gist_id}","starred_url":"https://api.github.com/users/bvboas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bvboas/subscriptions","organizations_url":"https://api.github.com/users/bvboas/orgs","repos_url":"https://api.github.com/users/bvboas/repos","events_url":"https://api.github.com/users/bvboas/events{/privacy}","received_events_url":"https://api.github.com/users/bvboas/received_events","type":"User","site_admin":false},"labels":[{"id":161563561,"url":"https://api.github.com/repos/magento/magento2/labels/needs%20update","name":"needs update","color":"b60205","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2015-11-24T16:21:37Z","updated_at":"2018-03-07T09:27:55Z","closed_at":"2015-11-25T03:54:47Z","author_association":"NONE","body":"My magento store is throwing this error:\n\n> Fatal error: Cannot instantiate interface Magento\\Framework\\View\\Design\\Theme\\ResolverInterface in /Library/WebServer/Documents/magento/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php on line 73\n\nI don't know why it started to appear. I made no new module installation. The store was working fine.\n\nI've check file permissions and I see no issue there. Also deleted /var/ dir and folders/files where created.\n\nThe preference is defined vendor/magento/magento2-base/app/etc/di.xml\n\n``` xml\n<preference for=\"Magento\\Framework\\View\\Design\\Theme\\ResolverInterface\" type=\"Magento\\Theme\\Model\\Theme\\Resolver\" /> \n```\n"},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/371077392","html_url":"https://github.com/magento/magento2/issues/2502#issuecomment-371077392","issue_url":"https://api.github.com/repos/magento/magento2/issues/2502","id":371077392,"user":{"login":"tristanisginger","id":25447128,"avatar_url":"https://avatars0.githubusercontent.com/u/25447128?v=4","gravatar_id":"","url":"https://api.github.com/users/tristanisginger","html_url":"https://github.com/tristanisginger","followers_url":"https://api.github.com/users/tristanisginger/followers","following_url":"https://api.github.com/users/tristanisginger/following{/other_user}","gists_url":"https://api.github.com/users/tristanisginger/gists{/gist_id}","starred_url":"https://api.github.com/users/tristanisginger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tristanisginger/subscriptions","organizations_url":"https://api.github.com/users/tristanisginger/orgs","repos_url":"https://api.github.com/users/tristanisginger/repos","events_url":"https://api.github.com/users/tristanisginger/events{/privacy}","received_events_url":"https://api.github.com/users/tristanisginger/received_events","type":"User","site_admin":false},"created_at":"2018-03-07T09:27:55Z","updated_at":"2018-03-07T09:27:55Z","author_association":"NONE","body":"As @alankent says \"Check your di.xml\"\r\n\r\nI didn't realise you need to add it as a preference if you instantiate it. [Documentation](http://devdocs.magento.com/guides/v2.1/extension-dev-guide/build/di-xml-file.html#abstraction-implementation-mappings)"}}
{"actor":{"display_login":"tristanisginger"}}