Skip to content

Default search errors when using post::get_all() #112

Description

@acobster

Original issue reported here: sitecrafting/groot#34

Fatal error: Uncaught TypeError: Return value of Conifer\Post\Post::get_all() must be of the type array, null returned in /app/wp-content/plugins/conifer/lib/Conifer/Post/Post.php on line 348

Using Timber::get_posts() instead resolves the search issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions