Hello if i check "Include all pages in a forum" & "Include all pages in a thread" I get this error. How i can fix it?
Code:
Server Error
Undefined variable: totalPages
XenForo_Application::handlePhpError() in CemZoo/Sitemap/Helper/ThreadPagination.php at line 76
CemZoo_Sitemap_Helper_ThreadPagination->generate() in CemZoo/Sitemap/Index.php at line 165
CemZoo_Sitemap_Index->generateThreadsPagination() in CemZoo/Sitemap/Index.php at line 77
CemZoo_Sitemap_Index->generate() in CemZoo/Sitemap/CronEntry/RebuildSitemap.php at line 26
CemZoo_Sitemap_CronEntry_RebuildSitemap::run()
call_user_func() in XenForo/Model/Cron.php at line 356
XenForo_Model_Cron->runEntry() in XenForo/ControllerAdmin/Cron.php at line 204
XenForo_ControllerAdmin_Cron->actionRun() in XenForo/FrontController.php at line 310
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
XenForo_FrontController->run() in /var/www/admin/data/www/mysite.com/admin.php at line 13