Rebuild post reactions cache

Rebuild post reactions cache 1.4

No permission to buy ($35.00)
Compatible XF 2.x versions
  1. 2.1
  2. 2.2
Premium upgrade:

This XF2 add-on along with the entire collection can be purchased for $35.00 USD. Your Premium upgrade will allow you to download as many XF2 add-ons as you like for one year. Please see the entire collection located in the Resources area at this URL:


Rebuilds post reactions cache.

This add-on is useful to remove deleted members reactions.

(Example of Rebuild now button)


(Example of Options page)


  • Can be run from ACP or as CLI.
  • All phrases start with rebuildpostreactionscache_ for your convenience.
How to use:

Run from ACP

Navigate to the following:

Admin control panel -> Tools -> Rebuild caches -> Rebuilds post reactions cache

Run as CLI

Go to your server terminal
Navigate to the XF root
Enter the following command php cmd.php xf-rebuild:rebuildpostreactionscache

Questions and Answers:

Q: I get a 504 Gateway Timeout.
A: Run from CLI.
  • Like
Reactions: dethfire
First release
Last update
0.00 star(s) 0 ratings

More resources from AndyB

  • Resize
    Easily resize any attached image in a post or conversation.
  • Post links
    Post links
    Allows staff to easily monitor links added to posts.
  • Print friendly
    Print friendly
    Provides print friendly page for posts, conversations and resource content.
  • Members map
    Members map
    Shows members on a Google map.
  • Upgrade check
    Upgrade check
    Allows checking user upgrades using a CSV file as input.

Latest updates

  1. See description

    Rebuild post reactions cache v1.4 changes: Added CLI support.
  2. See description

    Rebuild post reactions cache v1.3 changes: Updated query in RebuildPostReactionsCache.php file.
  3. See description

    Rebuild post reactions cache v1.2 changes: Added code to ignore orphaned posts.