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

hydrators fetch problem #333

Open
tigran-m-dev opened this issue Mar 6, 2016 · 6 comments
Open

hydrators fetch problem #333

tigran-m-dev opened this issue Mar 6, 2016 · 6 comments

Comments

@tigran-m-dev
Copy link

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

@jeger-at
Copy link

jeger-at commented Mar 6, 2016

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.

@tigran-m-dev
Copy link
Author

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

@jeger-at
Copy link

jeger-at commented Mar 7, 2016

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.

@JiNexus
Copy link

JiNexus commented Mar 8, 2016

@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.

@jimits
Copy link

jimits commented Mar 13, 2016

+1 Facing the same issue.

@weierophinney
Copy link
Member

This repository has been closed and moved to laminas-api-tools/api-tools-admin; a new issue has been opened at laminas-api-tools/api-tools-admin#24.

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

No branches or pull requests

5 participants