Drupal 8, enabing apigee edge module gives fatal error

I insalled the apigee edge module from https://www.drupal.org/project/apigee_edge

After enbling it, I am getting below error.

Fatal error: Interface ‘Apigee\Edge\Entity\EntityInterface’ not found in C:\xampp\htdocs\drupal8\modules\apigee_edge\src\Entity\EdgeEntityInterface.php on line 32

Could you help me with a fix for it.

@Shiva M edge module requires some libraries. Could you pls try installing it using composer ? You will notice a library named ‘apigee’ inside /vendor direcrory if installed correctly.

1 Like

Check your PHP version as well, you should be on 7.2.x for D8.

My issue was with autoload.php. Couldn’t find the vendor folder.

return require __DIR__ . '/../vendor/autoload.php';