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

hydrators fetch problem #24

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

hydrators fetch problem #24

weierophinney opened this issue Dec 31, 2019 · 5 comments

Comments

@weierophinney
Copy link
Contributor

After update of (zend-mvc) to latest 2.7.1 version I have a problem with fetching hydrators
here is the warning message.
E_WARNING : sort() expects parameter 1 to be array, null given
Error PHP in file : /vendor/zfcampus/zf-apigility-admin/src/Model/AbstractPluginManagerModel.php at line : 65 : E_WARNING : sort() expects parameter 1 to be array, null given

URL is /zf-apigility/api/hydrators

Also get a DoctrineAdapterResource deprecated warning same as #332
/vendor/zendframework/zend-mvc/src/Service/ServiceManagerConfig.php at line : 147 : with type error : E_USER_DEPRECATED : ServiceLocatorAwareInterface is deprecated and will be removed in version 3.0, along with the ServiceLocatorAwareInitializer. Please update your class ZF\Apigility\Admin\Model\DoctrineAdapterResource to remove the implementation, and start injecting your dependencies via factory instead.

URL is /zf-apigility/api/doctrine-adapter


Originally posted by @developer-devPHP at zfcampus/zf-apigility-admin#333

@weierophinney
Copy link
Contributor Author

I'm planning to do the pull-request for #332 tomorrow or the day after that.. Still some things to take care of for compatibility with zf-apigility-doctrine.


Originally posted by @JueGer at zfcampus/zf-apigility-admin#333 (comment)

@weierophinney
Copy link
Contributor Author

what about hydrators error? Do you have a similar problem? Is it also resolved after in your branch?


Originally posted by @developer-devPHP at zfcampus/zf-apigility-admin#333 (comment)

@weierophinney
Copy link
Contributor Author

I only used zf 2.7.1 for a short eval project which I downgraded to 2.6.x because of this deprecation issue. Since this is a different issue and not caused by the new deprecation I would handle this as a seperate issue. Currently my time is rather limited, so I think I wound be able to fix this as well. I'lll have a short look after work, but I can't promise anything at this point.


Originally posted by @JueGer at zfcampus/zf-apigility-admin#333 (comment)

@weierophinney
Copy link
Contributor Author

@developer-devPHP I also got an issue on Hydrators after I update my vendor via composer (I don't know which one affects it). The Hydrator Service that is supposedly a selection is now became an input field and its not showing the other hydrator service. So far I'm manually changing my hydrators through module.config.php, but still it's inconvenient.


Originally posted by @JiNexus at zfcampus/zf-apigility-admin#333 (comment)

@weierophinney
Copy link
Contributor Author

+1 Facing the same issue.


Originally posted by @jimits at zfcampus/zf-apigility-admin#333 (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