-
Notifications
You must be signed in to change notification settings - Fork 5
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
NLC - create - $info['description'] and $info['code'] #1
Comments
Thanks for the feedback! Glad you like it. I'll look into it and try to get back to you in a few. |
@SBreuer |
I ran the example to check if the API had changed, but it seems to be working. I ran this example: I attached an image of result. I included the code below and removed the comments. Check for response of some kind. This is the same as the link:
|
Sorry, if I caused some confusion. Everything works great if the URL is right and so on. Then you wont come to this error case. I got there, because my PHP Interpreter did not have the right SSL certificates and so curl_getinfo returned 0. And then i got into this case with the above mentioned Errors. After I added the SSL certificates to the php.ini, everything works great, as the Error-case wont be entered. |
So it works, everything is fine, but IF there is something wrong, the fields description and Code in $info dont exist. |
Okay thanks. I'll continue looking for/creating a permanent solution for this in the near future. |
Hello,
thx for your SDK, it helps me a lot. but I have a small Problem. In the NaturalLanguageClassifier.php, if there is an invalid Response (from line 117), it keeps telling me Notice: Undefined index: description ... and Notice: Undefined index: code. If I look at the curl_getinfo Definition, there are no fields like the mentioned in the results. Did there something Change or did I miss something? Sorry, if that is the case, I am quite new to this :)
The text was updated successfully, but these errors were encountered: