Skip to content

Notice: Undefined index: path  #24

@imagekitio

Description

@imagekitio

Getting error

Notice: Undefined index: path in /src/ImageKit/Url/Url.php on line 68

Minimum code to reproduce this error

$public_key = "your_public_key";
$your_private_key = "your_private_key";
$url_end_point = "https://cdn.example.com/";

$imageKit = new ImageKit(
    $public_key,
    $your_private_key,
    $url_end_point
);

$imageURL = $imageKit->url(array(
    "path" => "/path/to/image.jpg",
    "transformation" => array(
        array(
            "height" => "300",
            "width" => "400",
        ),
    ),
));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions