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

* Changed required version of PHP to avoid Fatal Error during library work #116

Closed
wants to merge 4 commits into from

Conversation

xUJYx
Copy link
Contributor

@xUJYx xUJYx commented Jul 13, 2018

Library doesn`t want to work properly on servers with PHP < 5.6
Tested on PHP version 5.4.45 and 5.5.38 .
When trying to get or send any kind of data -> we will get a fatal error:
Fatal error: Uncaught exception 'Bitrix24\Exceptions\Bitrix24IoException' with message 'in try[0] cURL error (code 3): No URL set!
' in /home/vendor/mesilov/bitrix24-php-sdk/src/bitrix24.php:508
Stack trace:
#0 /home/vendor/mesilov/bitrix24-php-sdk/src/bitrix24.php(1111): Bitrix24\Bitrix24->executeRequest('https://sotnik....', Array)
#1 /home/vendor/mesilov/bitrix24-php-sdk/src/bitrix24.php(1047): Bitrix24\Bitrix24->_call('user.current', Array)
#2 /home/vendor/mesilov/bitrix24-php-sdk/src/classes/user/user.php(28): Bitrix24\Bitrix24->call('user.current', Array)
#3 /home/index.php(23): Bitrix24\User\User->current()
#4 {main}
thrown in /home/vendor/mesilov/bitrix24-php-sdk/src/bitrix24.php on line 508

…eption 'Bitrix24\Exceptions\Bitrix24IoException' with message 'in try[0] cURL error (code 3): No URL set!"
@xUJYx
Copy link
Contributor Author

xUJYx commented Jul 13, 2018

@mesilov
Hi. Is there was tests of library on PHP versions < 5.6?

@xUJYx xUJYx closed this Oct 26, 2018
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

Successfully merging this pull request may close these issues.

1 participant