Skip to content

Wrong user favorites count #213

Description

@niksap2

Hi,
I am using [user_favorite_count] shortcode on loggedin user page (let's call it User A). The count works until post authors delete one or more posts. The favorites list on User A favorites page doesn't list the deleted posts anymore (correct) but the count is not updated. If I refresh the page the count shown is correct for one second then it goes back to wrong. The only way to go back to normal is to delete all favorites.
Is this a caching issue ? I am using Litespeed cache for my site, should I exclude this page from caching ? how ? caching is not really needed for this page actually ...
Thanks
Nik

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