Skip to content

Not working #1

@natzar

Description

@natzar

parser.php has a typo:
$client should be $guzzclient;

But anyway, after fixing this the requests to Google are broken.
To reproduce it
Download the repo, run composer install then try to open parser.php from the browser.

Result
Fatal error: Uncaught exception 'GuzzleHttp\Exception\ClientException' with message 'Client error: GET https://www.googleapis.com/pagespeedonline/v2/runPagespeed?url=phpninja.info&strategy=desktop&locale=nl_NL&fields=formattedResults%2Cid%2CinvalidRules%2Ckind%2CpageStats%2CresponseCode%2CruleGroups%2Cscreenshot%2Ctitle%2Cversion&key=AIzaSyAks5wSTcoEN-SbNguivuuKP8QVadDQtK0&screenshot=true resulted in a 400 Bad Request response: { "error": { "errors": [ { "domain": "global", "reason": "invalidParameter", "message": "Invalid value (truncated...) ' in

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