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

Non-static method Fahriztx\Zksoapphp\Fingerprint::connect() cannot be called statically #1

Closed
Wakil18 opened this issue Feb 24, 2023 · 7 comments · Fixed by #3
Closed

Comments

@Wakil18
Copy link

Wakil18 commented Feb 24, 2023

When I try to initialize the connection using

$machine = Fingerprint::connect('192.168.1.175', '80', '123456');

it gives me an error saying Non-static method Fahriztx\Zksoapphp\Fingerprint::connect() cannot be called statically.

So I did the following:

$machine = new Fingerprint;

 $machine->connect('192.168.1.175', '4370', '123456');
@sajib60web
Copy link

Data Not coming

@Wakil18
Copy link
Author

Wakil18 commented Feb 25, 2023

I can't even establish a connection -_-

@sajib60web
Copy link

Connection is made but no data is received

@sajib60web
Copy link

Please sir solve it,

@sajib60web
Copy link

Very nice package

@FAHRIZTX
Copy link
Owner

When I try to initialize the connection using

$machine = Fingerprint::connect('192.168.1.175', '80', '123456');

it gives me an error saying Non-static method Fahriztx\Zksoapphp\Fingerprint::connect() cannot be called statically.

So I did the following:

$machine = new Fingerprint;

 $machine->connect('192.168.1.175', '4370', '123456');

@Wakil18 what version of PHP are you using?

@Wakil18
Copy link
Author

Wakil18 commented Mar 16, 2023

I'm using PHP 8.1.16. @FAHRIZTX

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 a pull request may close this issue.

3 participants