Skip to content

$http_response_header variable is deprecated #104

@gamebits

Description

@gamebits

Running almost any team51 command outputs these errors:

Deprecated: The predefined locally scoped $http_response_header variable is deprecated, call http_get_last_response_headers() instead in /Users/kenomattic/Documents/GitHub/team51-cli/includes/functions.php on line 66

Deprecated: The predefined locally scoped $http_response_header variable is deprecated, call http_get_last_response_headers() instead in /Users/kenomattic/Documents/GitHub/team51-cli/commands/Jetpack_Site_Connection_Triage.php on line 183

Deprecated: The predefined locally scoped $http_response_header variable is deprecated, call http_get_last_response_headers() instead in /Users/kenomattic/Documents/GitHub/team51-cli/commands/Jetpack_Site_Connection_Triage.php on line 204

Deprecated: The predefined locally scoped $http_response_header variable is deprecated, call http_get_last_response_headers() instead in /Users/kenomattic/Documents/GitHub/team51-cli/commands/Jetpack_Site_Connection_Triage.php on line 204

Commands that are confirmed to generate those warnings:

team51 -V
team51 jetpack:plugin-search wp-google-map-gold`
team51 pressable:run-site-wp-cli-command "wp jetpack sitemap rebuild --purge" members.peopleofprint.com

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