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

RPC Controller __construct gives "Unable to fetch RPC services" #376

Closed
kimmo-steleco opened this issue Apr 26, 2017 · 1 comment
Closed

Comments

@kimmo-steleco
Copy link

Adding a __construct to a RPC controller causes the ui to give the "Unable to fetch RPC services" error and the RPC services names aren't in the list anymore. I can use them through postman just fine though.

Using version: 1.5.9 installed with composer require of "zfcampus/zf-apigility".

apigility admin ui

@Tjalle
Copy link

Tjalle commented Mar 12, 2019

Maybe a little late, but I had the same error today.

My issue was this :
I had copied my controller code because an other service was pretty much the same.
I missed the namespace (first line of php code in de controller file) and it was still set to the other service name.
This produced this error, after updating the namespace everything was working fine again.

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

3 participants