MyBB Community Forums

Full Version: Group Promotion
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When I go for an Group Promotion. I selected everything perfectly using Ctrls. BUT STILL this ERROR APPEARSThe Error appears :

recoder Wrote:ExclamationThe following errors were encountered:
  • You did not select at least one requirement for this promotion.
  • You did not select at least one original user group for this promotion.

My Description were as follows

recoder Wrote:Title = Super Moderators Promoted

Short Description = User have been promoted to Super Moderator.

Promotion Requirements : (selected with Ctrl)

Post Count > 1000
Time Registered > 1 years

Original User Group : Registered and Moderators (using Ctrl)

New User Group = Super Moderators

User Group Change type : Primary User Group

Enabled : Yes

Help Please
Any help ? Sorry! Sad
Anyone getting this error? How to solve? Sad
Some help please. i am in terrible need. Sad

I did everything properly. Everything is selected but still MyBB doesn't recognizes that i have selected them.Sad
At "Promotion Requirements *" Select "Post count" and "Time registered", but hold in CTRL when you select them. Same go's for Original User Group.
The image below is an example, on how it should look like when you are completed.
[Image: example001863978.png]
I know that. I selected that with Ctrls and then i got that error's.
your picture is just same as i did in my forums. Also, i got these warnings.

recoder Wrote:Warning [2] trim() expects parameter 1 to be string, array given - Line: 358 - File: C:\sites\gaming_mybb\admin\modules\user\group_promotions.php PHP 5.3.6 (WINNT)
File Line Function
[PHP] errorHandler->error
C:\sites\gaming_mybb\admin\modules\user\group_promotions.php 358 trim
C:\sites\gaming_mybb\admin\index.php 380 require
Warning [2] trim() expects parameter 1 to be string, array given - Line: 363 - File: C:\sites\gaming_mybb\admin\modules\user\group_promotions.php PHP 5.3.6 (WINNT)
File Line Function
[PHP] errorHandler->error
C:\sites\gaming_mybb\admin\modules\user\group_promotions.php 363 trim
C:\sites\gaming_mybb\admin\index.php 380 require

If that helps. Smile
Try to re upload the admin directory, and see if that helps
I just tried re-uploading everything, installing latest version of mybb but still no luck. Disabled all plugins too. Sad
I was able to do your exact promotion from localhost with no errors.

Are you by chance making the other requirements which are default 0 to be empty? If so then maybe trim() function is giving you error because it can't trim NULL. Leave them as 0.
No, they are at 0. But still this error appears. I know I've set group promotions 2-3 times in other forums but only in this forum the error appears. :p
Help Please!
Solved. Some Files were not Writable. Now I CHMOD it, made it writable and its working fine.

Thanks to all for their precious time for reading this thread. Smile