Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Zend Form requires ServiceManager but doesn't require it (Fatal Error) #132

Closed
markkimsal opened this issue Dec 28, 2016 · 2 comments
Closed

Comments

@markkimsal
Copy link

running
composer require -vvv zendframework/zend-form
will result in an immediate fatal error on your project.

Fatal error: Class 'Zend\ServiceManager\AbstractPluginManager' not found

autoload/formElementManagerPolyfill.php uses Zend\ServiceManager\ServiceManager but this package is not required in the composer file, it is merely suggested.

@markkimsal markkimsal changed the title Zend Form requires ServiceManager but doesn't require it Zend Form requires ServiceManager but doesn't require it (Fatal Error) Dec 28, 2016
@Ocramius Ocramius added the bug label Dec 29, 2016
@Ocramius
Copy link
Member

Probably time that we simply add the dependency, rather than polyfilling it...

@froschdesign
Copy link
Member

Duplicate of #72

@froschdesign froschdesign marked this as a duplicate of #72 Sep 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants