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

Unable to use API #6

Open
DescendedPuppy opened this issue Apr 23, 2017 · 1 comment
Open

Unable to use API #6

DescendedPuppy opened this issue Apr 23, 2017 · 1 comment

Comments

@DescendedPuppy
Copy link

I get this error message, when I try to run the sample.php, the code is the exact same, I only changed the information obviously. Would be nice if somebody could help me, Im lost.

"Argument 1 passed to Easyname\RestApi\Client::__construct() must be of the type array, integer given"

@envomer
Copy link

envomer commented Jun 30, 2018

Hi @DescendedPuppy ,

you need to make a change to the config.same.php file. In the first line use

<?php

instead of

<?

It seems like your PHP installation doesn't have shorttags enabled.

image

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

2 participants