{"action":"created","issue":{"url":"https://api.github.com/repos/ivanakimov/hashids.php/issues/84","repository_url":"https://api.github.com/repos/ivanakimov/hashids.php","labels_url":"https://api.github.com/repos/ivanakimov/hashids.php/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/ivanakimov/hashids.php/issues/84/comments","events_url":"https://api.github.com/repos/ivanakimov/hashids.php/issues/84/events","html_url":"https://github.com/ivanakimov/hashids.php/issues/84","id":211857399,"number":84,"title":"PHP Warning: gmp_add(): Unable to convert variable to GMP","user":{"login":"mxmkmarquette","id":21690761,"avatar_url":"https://avatars3.githubusercontent.com/u/21690761?v=3","gravatar_id":"","url":"https://api.github.com/users/mxmkmarquette","html_url":"https://github.com/mxmkmarquette","followers_url":"https://api.github.com/users/mxmkmarquette/followers","following_url":"https://api.github.com/users/mxmkmarquette/following{/other_user}","gists_url":"https://api.github.com/users/mxmkmarquette/gists{/gist_id}","starred_url":"https://api.github.com/users/mxmkmarquette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxmkmarquette/subscriptions","organizations_url":"https://api.github.com/users/mxmkmarquette/orgs","repos_url":"https://api.github.com/users/mxmkmarquette/repos","events_url":"https://api.github.com/users/mxmkmarquette/events{/privacy}","received_events_url":"https://api.github.com/users/mxmkmarquette/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-04T05:30:37Z","updated_at":"2017-03-04T10:12:07Z","closed_at":null,"body":"hello i'm using the wordpress plugin based on hashids php, i used it since 2 years, and everything was working good... i had a dedicated server with php5.6 and everything it was need to make the plugin work, but since 2 weeks i switch to a new host.\r\n\r\nit come with php7 but since then i got this error into my error_log\r\nPHP Warning: gmp_add(): Unable to convert variable to GMP at line 314 of hashids.php and when i took a look it's this...\r\n\r\n$number = $this->_math_functions[‘str’]($this->_math_functions[‘add’]($number, $pos * pow($alphabet_length, ($input_length – $i – 1))));\r\n\r\nthe wordpress plugin is based on hashids 1.0.6 and i know that a lot's of version have been release since then, i contact ivan and he told me to check if  GMP and BCMath was install on my machine and then to try here that maybe someone could help me... i contact fastcomet and they told me both extension are install and working so how can i fix this up if anyone have an idea."},"comment":{"url":"https://api.github.com/repos/ivanakimov/hashids.php/issues/comments/284141951","html_url":"https://github.com/ivanakimov/hashids.php/issues/84#issuecomment-284141951","issue_url":"https://api.github.com/repos/ivanakimov/hashids.php/issues/84","id":284141951,"user":{"login":"vinkla","id":499192,"avatar_url":"https://avatars2.githubusercontent.com/u/499192?v=3","gravatar_id":"","url":"https://api.github.com/users/vinkla","html_url":"https://github.com/vinkla","followers_url":"https://api.github.com/users/vinkla/followers","following_url":"https://api.github.com/users/vinkla/following{/other_user}","gists_url":"https://api.github.com/users/vinkla/gists{/gist_id}","starred_url":"https://api.github.com/users/vinkla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinkla/subscriptions","organizations_url":"https://api.github.com/users/vinkla/orgs","repos_url":"https://api.github.com/users/vinkla/repos","events_url":"https://api.github.com/users/vinkla/events{/privacy}","received_events_url":"https://api.github.com/users/vinkla/received_events","type":"User","site_admin":false},"created_at":"2017-03-04T10:12:07Z","updated_at":"2017-03-04T10:12:07Z","body":"Try updating to the latest version of Hashids. "}}
{"actor":{"display_login":"vinkla"}}