Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant