# How to fix "Fatal error: Interface

**URL:** <https://discourse.laminas.dev/t/how-to-fix-fatal-error-interface/1141>\
**Category:** Components & MVC\
**Tags:** zend-mvc\
**Created:** [August 5, 2019, 7:13pm UTC](https://discourse.laminas.dev/t/how-to-fix-fatal-error-interface/1141 "2019-08-05T19:13:15Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![Raj](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@Raj](https://discourse.laminas.dev/u/Raj)\
**Post date:** [August 7, 2019, 2:33pm UTC](https://discourse.laminas.dev/t/how-to-fix-fatal-error-interface/1141/12 "2019-08-07T14:33:17Z")

</div>

I created 2 more modules and did like below:

```
"autoload": {
        "psr-4": {
            "Application\\": "module/Application/src/",
            "Admin\\": "module/Admin/src/",
            "User\\": "module/User/src/",
            "Vendor\\": "module/Vendor/src/"
        }
    },

```

But only last vendor module is working, and other two user and admin module are not working. So is that i will require to create different autoload snippet for admin and user module and add in composer.json ?

---

_[View the full topic](https://discourse.laminas.dev/t/how-to-fix-fatal-error-interface/1141)._
