Closed kimmo-steleco closed 5 years ago
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.
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".