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

Fatal error: Call to undefined function Bigcommerce\Api\random_bytes() in /var/www/html/dazadi-admin/lib/vendor/bigcommerce/api/src/Bigcommerce/Api/Client.php on line 430 #209

Open
saqibtalib opened this issue Aug 22, 2017 · 0 comments

Comments

@saqibtalib
Copy link

saqibtalib commented Aug 22, 2017

'jti' => bin2hex(random_bytes(32)),

Actually I'm using bigcommerce customer login API. When I'm calling the "getCustomerLoginToken" function it shows me "random_bytes()" undefined error. I know this function is in php 7.0 and for that I includes the "https://github.com/paragonie/random_compat" package but I'm still facing same issue.

So what should I do for it.

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