Skip to content

Undefined variable $type on line 2292, every time you edit a post. #136

Description

@ThatStevensGuy

This error is showing whenever someone opens the post edit page.

[30-Mar-2022 02:32:36 UTC] PHP Warning: Undefined variable $type in /Users/user/Sites/localhost/site/wp-content/plugins/feedwordpress/feedwordpress.php on line 2292

Removing $type from this line seems to fix it.

static function post( $key, $default = null, $sanitizer = null ) {
	return self::sanitized_parameter( MyPHP::post( $key, $default ), $sanitizer );
} /* FeedWordPress::post () */

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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