After upgrading from Xen Media Gallery


Well-known member
When I click to a comment, get this error:

Server Error

Division by zero
1.XenForo_Application::handlePhpError() in XenGallery/ControllerPublic/Comment.php at line 52
2.XenGallery_ControllerPublic_Comment->actionIndex() in XenForo/FrontController.php at line 347
3.XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
4.XenForo_FrontController->run() in /var/www/html/index.php at line 13


XenForo moderator
Staff member
That is a known bug which has already been fixed.

Please download the zip again (as it has been hotfixed) and reupload the files.


Well-known member
Single line hot fixes within quick succession are often faster and easier to just place in the download package as those who have issues are lower than normal.

And it doesn't require a reimport of the add on for those who have installed it.