MyBB Community Forums

Full Version: function_modcp.php issue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey all, after recently upgrading to the latest version of MyBB, I have encountered a problem..

For some reason, the following script:

Line 73:
			if($forum['linkto'] || ($unviewableforums && in_array($forum['fid'], $unviewableforums)))
			{
				continue;
			}

Is causing issues with the Mod CP..

When ever I disable the script using /* */ tags the error message disappears (Of course), but my question is (Although I know what's causing it, at least I think...) where is the variable $unviewableforums used, I see it's in the global bit which to my knowledge is being used from another file if I am correct.

Any who this is the error I am getting;

[Image: temptemp.png]
The error loops for some time, but comes to an end repeating the same error.

If any one can help then it'd be highly appreciated.

Thanks Smile

Problem still persists, any help is appreciated!