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

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

Open
@mmx5

Description

@mmx5

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions