Skip to content

Categories are not associated with the postΒ #91

@nmarolleau53

Description

@nmarolleau53

Hi,

The categories are not associated with the post because there is no category ID on the edit post page.

To fix this, you need to update the query in getAllCategories (file: classes/EverPsBlogCategory.php).

Change (line 248) :
$sql->select('*');
To:
$sql->select('bc.*, bcl.title, bcl.meta_title, bcl.meta_description, bcl.link_rewrite, bcl.content, bcl.bottom_content');
This is necessary because id_ever_category is ambiguous in the current query.

Thanks,
Nicolas

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