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

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.