-
-
Notifications
You must be signed in to change notification settings - Fork 662
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
Undefined offset: 0 #25
Comments
As you can see in https://tjhorner.com/tl-schema/method/contacts.getContacts, contacts.getContacts requires a parameter (hash, which is described in the following way by https://core.telegram.org/method/contacts.getContacts: If there already is a full contact list on the client, an md5-hash of a comma-separated list of contact IDs in ascending order may be passed in this parameter. If the contact set was not changed, (contacts.contactsNotModified) will be returned.). |
There is logs of problem. |
Anyway, this bug should be now fixed. |
I have a error with arguments when i call to any method of telegram API that dont have arguments
$MadelineProto->contacts->getContacts();
Error:
at Exception ::ExceptionErrorHandler ('8', 'Undefined offset: 0', '/var/www/ezdesk/vendor/danog/madelineproto/src/danog/MadelineProto/APIFactory.php', '31', array('name' => 'getContacts', 'arguments' => array()))
in vendor/danog/madelineproto/src/danog/MadelineProto/APIFactory.php at line 31 +
at APIFactory ->__call ('getContacts', array())
in src/AppBundle/Controller/DefaultController.php at line 61 +
at DefaultController ->listContactsActon (object(Request))
at call_user_func_array (array(object(DefaultController), 'listContactsActon'), array(object(Request)))
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 153 +
at HttpKernel ->handleRaw (object(Request), '1')
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 68 +
at HttpKernel ->handle (object(Request), '1', true)
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php at line 169 +
at Kernel ->handle (object(Request))
in web/app_dev.php at line 28 +
The text was updated successfully, but these errors were encountered: