Skip to content

Error 0: Call to a member function get() on array (Category List, filter by month) #46354

@DaSalba

Description

@DaSalba

When trying to browse a "Category List" type menu, pointing to a valid, published category with published articles, the 404 error page appears with the text Error: 0 Call to a member function get() on array. Included is a screenshot with the full call stack provided after enabling debugging (the last entry at JROOT/components/com_content/src/Model/ArticlesModel.php, line 276).

Joomla version: 6.0.0
PHP version: 8.4.14

The error goes away by following these steps: entering the menu item properties, List Layouts tab, and setting the Filter Field property to anything different than "Month (published)".

There are no custom templates or overrides in use (tested with default Cassiopeia). The menu was working alright until updating from Joomla 5.4.0 to 6.0.

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions