Solved Trending Content: DivisionByZeroError

This topic has been solved
C

Chromaniac

Guest
So, woke up to these errors in backend:

Code:

Code:
DivisionByZeroError: Division by zero src/XF/Repository/TrendingContent.php:295
Generated by: Unknown account May 13, 2024 at 1:15 PM
Stack trace
#0 src/XF/Repository/TrendingContent.php(116): XF\Repository\TrendingContent->normalizeContentData(Array)
#1 src/XF/Job/TrendingResult.php(30): XF\Repository\TrendingContent->createResult('top', 10, 'thread', 374)
#2 src/XF/Job/Manager.php(272): XF\Job\TrendingResult->run(8)
#3...

Read more

Continue reading...