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

Illegal string offset 'value' #6

Open
Sparkxxx opened this issue Nov 2, 2018 · 1 comment
Open

Illegal string offset 'value' #6

Sparkxxx opened this issue Nov 2, 2018 · 1 comment

Comments

@Sparkxxx
Copy link

Sparkxxx commented Nov 2, 2018

Hello,
There seams to be a problem and I'm unable to trace it:
Supervisord version 3.3.1
#php api output
API Version: 3.0
ApiClients\Client\Supervisord\Resource\Sync\State
statecode: 1
statename: RUNNING
log cleared
Identification: supervisor
PID: 29894
$program = current($client->programs()); //Calling this gives the error

PHP Warning: Illegal string offset 'value' in /home/xxx/vendor/api-clients/xml-rpc-service/src/XmlRpcPayloadParser.php on line 42

PHP Notice: Uninitialized string offset: 0 in /home/xxx/vendor/api-clients/xml-rpc-service/src/XmlRpcPayloadParser.php on line 42

PHP Fatal error: Uncaught Rx\React\RejectedPromiseException: Promise rejected with non-exception in /home/xxx/vendor/reactivex/rxphp/src/React/Promise.php:88

Is there a versioning mismatch between the api and xml-rpc?
What can be done?
Thank you.

@WyriHaximus
Copy link
Member

Hey @Sparkxxx that could be the case, I'm using supervisor 3.2 myself so I'll set up a VM and look into it

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

2 participants