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

A non well formed numeric value encountered in /vendor/opensrs/osrs-toolkit-php/opensrs/Ops.php on line 177 #52

Open
pentatonicfunk opened this issue Jul 29, 2022 · 1 comment

Comments

@pentatonicfunk
Copy link

Above PHP notice always logged on most if not all opensrs requests

[29-Jul-2022 01:12:43 UTC] PHP Notice: A non well formed numeric value encountered in /vendor/opensrs/osrs-toolkit-php/opensrs/Ops.php on line 177
@pentatonicfunk
Copy link
Author

seems related to this block

 ++$this->_MSGCNT;
   $msg_id = $this->_SESSID + $this->_MSGCNT;

where $this->_SESSID = \uniqid();, which is string, so it seems wrong concat operator ? or is it meant to be numeric ?

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