Skip to content

PageFinderSyntaxException instead of 404 after update to 3.0.143 #1027

@kixe

Description

@kixe

Short description of the issue

Calling a non-existent path results in

Fatal error: Exception: Operator '&' is not supported for 'status'. (in .../wire/core/PageFinder.php line 2211)

This happens only in case of one single path segment

  • /wrongpath/ throws exception as described above
  • /wrongpath/whatever/ throws 404 as expected

Expected behavior

ProcessWire should throw 404 Exception

Setup/Environment

  • ProcessWire version: 3.0.143
  • (Optional) PHP version: 7.2

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