Fixed Most Popular Tags - Undefined Variable

Daniel Hood

Well-known member
If you disable the option for the tag cloud, then the /tag controller will return an undefined variable error.

Server Error

Undefined variable: tagCloud

XenForo_Application::handlePhpError() in XenForo/ControllerPublic/Tag.php at line 101
XenForo_ControllerPublic_Tag->actionIndex() in XenForo/FrontController.php at line 347
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
XenForo_FrontController->run() in /home/xen/public_html/index.php at line 13
Should mention that if this variable did exist, $tagCloudLevels would also error.