XF 1.1 Server error from messages


Active member
Any idea why is this error showing a lot in server errors please?

ErrorException: Undefined index: messages - library/XenForo/Helper/Criteria.php:137 
Generated By: Unknown Account, Dzisiaj o 9:21
Stack Trace
#0 /home/anglikii/domains/angliki.info/public_html/library/XenForo/Helper/Criteria.php(137): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/anglikii/...', 137, Array)
#1 /home/anglikii/domains/angliki.info/public_html/library/XenForo/CronEntry/UserGroupPromotion.php(60): XenForo_Helper_Criteria::userMatchesCriteria('a:2:{i:0;a:2:{s...', false, Array)
#2 [internal function]: XenForo_CronEntry_UserGroupPromotion::runPromotions(Array)
#3 /home/anglikii/domains/angliki.info/public_html/library/XenForo/Model/Cron.php(356): call_user_func(Array, Array)
#4 /home/anglikii/domains/angliki.info/public_html/library/XenForo/Cron.php(29): XenForo_Model_Cron->runEntry(Array)
#5 /home/anglikii/domains/angliki.info/public_html/library/XenForo/Cron.php(64): XenForo_Cron->run()
#6 /home/anglikii/domains/angliki.info/public_html/cron.php(12): XenForo_Cron::runAndOutput()
#7 {main}
Request State
array(3) {
["url"] => string(39) "http://angliki.info/cron.php?1342988430"
["_GET"] => array(1) {
[1342988430] => string(0) ""
["_POST"] => array(0) {

Jake Bunce

XenForo moderator
Staff member
Criteria error with your promotions.

Edit your promotions and check the criteria:

Admin CP -> Users -> User Group Promotions

This is the criteria in question:

Screen shot 2012-07-24 at 2.11.52 AM.png

Make sure a number of messages is set. And try saving the promotion to see if you can. That may fix the error.