# 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:** 3

<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 5, 2019, 9:28pm UTC](https://discourse.laminas.dev/t/how-to-fix-fatal-error-interface/1141/3 "2019-08-05T21:28:00Z")

</div>

Is `zendframework/zend-modulemanager` in your `composer.lock` and in `vendor/zendframework` ?

- Yes, it is.

Did you include ` __DIR__. '/vendor/autoload.php` somewhere at the startup of your application?

- Yes, i did create the file as admin.php and previously tried with include ` __DIR__. '/vendor/autoload.php` - but was getting errors as below :

**Warning** : include(C:\xampp\htdocs\project\module\Admin/…/vendor/autoload.php): failed to open stream: No such file or directory in **C:\xampp\htdocs\project\module\Admin\admin.php** on line **18**

**Warning** : include(): Failed opening ‘C:\xampp\htdocs\project\module\Admin/…/vendor/autoload.php’ for inclusion (include\_path=‘C:\xampp\php\PEAR’) in **C:\xampp\htdocs\project\module\Admin\admin.php** on line **18**

Not sure, how to go through…

---

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