Skip to content

Error while using jQuery #112

@sadobuss

Description

@sadobuss

I got this error when I tried to Inject jQuery URL:

PHP Fatal error: Uncaught Screen\Exceptions\InvalidUrlException: The url 'http://' is not valid. in ...Url.php:19

Here is my Code:

$jQueryUrl = 'https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js';
$screen->includeJs(new \Screen\Injection\Url($jQUeryUrl));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions