Skip to content

PHP notices when no HTTP context. #16

@vovafeldman

Description

@vovafeldman

PHP throws notices for $_SERVER variables in API connectivity test when running without HTTP context (e.g. CLI, Cronjob). I think the best solution, in this case, would be to turn Freemius off if the user is not yet opted-in.

References:
https://wordpress.org/support/topic/errors-in-the-freemius-class-when-running-in-wordpress-in-cli

Metadata

Metadata

Assignees

No one assigned

    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