Jump to the post that solved this thread.
Solved: 2 Years, 11 Months, 2 Weeks ago Admin Error
#1
Solved: 2 Years, 11 Months, 2 Weeks ago
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.


Attached Files Thumbnail(s)
   
Reply
#2
Solved: 2 Years, 11 Months, 2 Weeks ago
screenshot is missing.
Reply
#3
Solved: 2 Years, 11 Months, 2 Weeks ago
(2020-06-08, 01:22 PM).m. Wrote: screenshot is missing.

Forgot to press Add Attachment oops.
Has been updated with it now
Reply
#4
Solved: 2 Years, 11 Months, 2 Weeks ago
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)
Could be wrong but worth a try.
Email me at: [email protected]
Reply
#5
Solved: 2 Years, 11 Months, 2 Weeks ago
(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.
Reply
#6
Solved: 2 Years, 11 Months, 2 Weeks ago
(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!
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)