Server error log
ErrorException: [E_NOTICE] compact(): Undefined variable: total src/addons/Hampel/WhatsNewDigest/XF/Admin/Controller/Tools.php:80
Generated by: Admin Feb 11, 2019 at 3:52 AM
Stack trace
#0 [internal function]: XF::handlePhpError(8, '[E_NOTICE] comp...', '/home/nginx/dom...', 80, Array)
#1 src/addons/Hampel/WhatsNewDigest/XF/Admin/Controller/Tools.php(80): compact('users', 'newThreads', 'updatedThreads', 'test', 'period', 'total', 'done', 'messages')
#2 src/XF/Mvc/Dispatcher.php(321): Hampel\WhatsNewDigest\XF\Admin\Controller\Tools->actionWhatsNewDigestTest(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(244): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'WhatsnewdigestT...', Object(XF\Mvc\RouteMatch), Object(Hampel\WhatsNewDigest\XF\Admin\Controller\Tools), NULL)
#4 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(Hampel\WhatsNewDigest\XF\Admin\Controller\Tools), NULL)
#5 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#7 src/XF.php(390): XF\App->run()
#8 admin.php(13): XF::runApp('XF\\Admin\\App')
#9 {main}
Request state
array(4) {
["url"] => string(36) "/admin.php?tools/whatsnewdigest-test"
["referrer"] => string(60) "https://www.site.com/admin.php?tools/whatsnewdigest-test"
["_GET"] => array(1) {
["tools/whatsnewdigest-test"] => string(0) ""
}
["_POST"] => array(4) {
["test"] => string(5) "users"
["period"] => string(5) "daily"
["_debug"] => string(1) "0"
["_xfToken"] => string(8) "********"
}
}