Skip to content

Entry Manager and Column Expectations #4847

Closed

Description

@eric-lamb62

Description of the problem

If a user sets their Column grouping within the Entry Manager to a grouping that does NOT include a Column that can be sorted/ordered, a fatal PHP error is thrown and the Entry Manager becomes unusable for said member.

Image

Further, a PHP notice gets thrown if the above since it's assumed the entry_id key would exist. I does not.

This happens across PHP and MySQL versions and has no bearing on output.

How To Reproduce
Steps to reproduce the behavior:

  1. Within a Channel Entry List
  2. Deselect all checked columns except Categories
  3. Refresh the page
  4. page borks

Error Messages


Call to a member function getEntryManagerColumnSortField() on null
Edit.php:167

Possible Solution
Checking for the existing and instanceof said variable

Additional context

Activity

  1. eric-lamb62 commented on May 16, 2025

    @eric-lamb62
    ContributorAuthor
  2. added a commit that references this issue on Jun 16, 2025
    488d0e4
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions