Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not compatible with ZF < 3.0 #9

Open
weierophinney opened this issue Dec 31, 2019 · 2 comments
Open

Not compatible with ZF < 3.0 #9

weierophinney opened this issue Dec 31, 2019 · 2 comments

Comments

@weierophinney
Copy link
Contributor

Fatal error: Uncaught Zend\ModuleManager\Exception\RuntimeException: Module (Zend\Hydrator) could not be initialized. in /var/www/vendor/zendframework/zend-modulemanager/src/ModuleManager.php on line 203

It is not a module until 2.2.0.
Same Problem for Zend\Router.


Originally posted by @func0der at zfcampus/zf-apigility-skeleton#151

@weierophinney
Copy link
Contributor Author

Hello,

If you add those modules to your ./config/modules.config.php

  • 'Zend\Db',
  • 'Zend\Filter',
  • 'Zend\Hydrator',
  • 'Zend\InputFilter',
  • 'Zend\Paginator',
  • 'Zend\Router',
  • 'Zend\Validator',

the modules should be loaded.

'Zend/Hydrator' and 'Zend/Router' are separate modules in ZF3

It would be more helpful if you wrote apigility version you used.

Thanks


Originally posted by @jamjan at zfcampus/zf-apigility-skeleton#151 (comment)

@weierophinney
Copy link
Contributor Author

"zfcampus/zf-apigility": "^1.3",


Originally posted by @func0der at zfcampus/zf-apigility-skeleton#151 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant