Rebuild post reactions cache

Rebuild post reactions cache 1.4

No permission to buy ($35.00)
Compatible XF 2.x versions
  1. 2.1
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.
  1. Download and unzip it.
  2. Copy the src/addons/Andy/RebuildPostReactionsCache directory to your server.
  3. From the Admin Control Panel Install the add-on.
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

  • Location flag
    Location flag
    Allows member to select their country location.
  • Daily digest
    Daily digest
    Sends an email to your members every day showing most popular topics.
  • New content limit
    New content limit
    Limits the number of new threads, posts and conversations allowed to be made in a day.
  • Style chooser manager
    Style chooser manager
    Changes style chooser to single column and alpha sort.
  • Weekly digest
    Weekly digest
    Sends an email to your members every week showing most popular topics.

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.