MyBB Community Forums

Full Version: Admin Error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Recently changed domain for my forum. I now recieve the error found in the screenshot attached when copying a new forum (it may occur in other cases, but haven't yet seen it).
It only appears for about half a second before copying the forum, but wanted to make sure it wasn't something that was going to affect anything.
screenshot is missing.
(2020-06-08, 01:22 PM).m. Wrote: [ -> ]screenshot is missing.

Forgot to press Add Attachment oops.
Has been updated with it now
It's a known bug and will be fixed in next MyBB release. You could manually fix it by editing file admin/modules/forum/management.php according to https://github.com/mybb/mybb/pull/3919/files :
Change following line (around line 145)
			if(is_array($mybb->input['copygroups']) && count($mybb->input['copygroups'] > 0))

to
			if(is_array($mybb->input['copygroups']) && count($mybb->input['copygroups']) > 0)
(2020-06-08, 03:05 PM)noyle Wrote: [ -> ]It's a known bug and will be fixed in next MyBB release. You could manually fix it by editing file admin/modules/forum/management.php according to https://github.com/mybb/mybb/pull/3919/files :
Change following line (around line 145)
 if(is_array($mybb->input['copygroups']) && count($mybb->input['copygroups'] > 0))

to
 if(is_array($mybb->input['copygroups']) && count($mybb->input['copygroups']) > 0)

Yeah this seemed to do it!
Thanks for the help.
(2020-06-08, 03:05 PM)noyle Wrote: [ -> ]It's a known bug and will be fixed in next MyBB release. You could manually fix it by editing file admin/modules/forum/management.php according to Tellpizzahut https://github.com/mybb/mybb/pull/3919/files :
Change following line (around line 145)
 if(is_array($mybb->input['copygroups']) && count($mybb->input['copygroups'] > 0))

to
 if(is_array($mybb->input['copygroups']) && count($mybb->input['copygroups']) > 0)

Exactly what I needed! You just saved me several hours. Thanks!