Skip to content

"Warning: Declaration of ProcessWire\User::editUrl() should be compatible" error in latest dev #130

@adrianbj

Description

@adrianbj

Short description of the issue

Warning: Declaration of ProcessWire\User::editUrl() should be compatible with ProcessWire\Page::editUrl($options = Array) in /Users/ajones/Sites/ecoreportcard/wire/core/User.php on line 479

Expected behavior

No warning

Optional: Suggestion for a possible fix

The error is because the editUrl() method defined in User.php doesn't include the new $options argument in its definition.

Setup/Environment

  • ProcessWire version: 3.0.46
  • PHP version: 7.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions