Solved Unsetting xf_reaction column that doesn't exist

This topic has been solved
D

digitalpoint

Guest
In XF\Repository\Reaction->getReactionCacheData(), reaction_text is being unset for some reason, but it never existed (in any version of XenForo as far as I could find).

PHP:

unset($cache[$reactionId]['sprite_mode'], $cache[$reactionId]['reaction_text']);

Maybe it was added with the intention of having text instead of images for reaction buttons, and that never materialized or something (although if that was the case, you'd probably not want to unset it in the cache)...

Read more

Continue reading...