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

gerçek kullanıcı giriş hatası #2

Open
mmx5 opened this issue Oct 9, 2023 · 0 comments
Open

gerçek kullanıcı giriş hatası #2

mmx5 opened this issue Oct 9, 2023 · 0 comments

Comments

@mmx5
Copy link

mmx5 commented Oct 9, 2023

Merhaba,

"<?php declare(strict_types=1); error_reporting(E_ALL); require dirname(DIR).'/vendor/autoload.php';
use Mlevent\Ivd\IvdException;
use Mlevent\Ivd\IvdService;

try {

// Kullanıcı Bilgileriyle Giriş
$ivd = (new IvdService)->login("xxx", "yyy");

print_r($ivd);

$ivd->logout();

} catch(IvdException $e){

print_r($e->getMessage());
print_r($e->getResponse());
print_r($e->getRequest());

}"

yukarı daki koddan sonra aşağıdaki hata geliyor.

"
Fatal error: Uncaught TypeError: json_decode(): Argument #1 ($json) must be of type string, bool given in C:\xampp\vendor\mlevent\ivd\src\Request.php:43 Stack trace: #0 C:\xampp\vendor\mlevent\ivd\src\Request.php(43): json_decode(false, true) #1 C:\xampp\vendor\mlevent\ivd\src\IvdService.php(85): Mlevent\Ivd\Request->__construct('https://ivd.gib...', Array) #2 C:\xampp\htdocs\index.php(8): Mlevent\Ivd\IvdService->login('66001534', '619762') #3 {main} thrown in C:\xampp\vendor\mlevent\ivd\src\Request.php on line 43"

Yardımcı olabilirmisiniz?

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