MyBB Community Forums

Full Version: class MyBB
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am having some problems since I just upgraded my forums to PR2, I have my forums integrated into the rest of my webste using the SDK, but since the upgrade there are now two MyBB Class declarations, one in class_sdk.php and one in class_core.php.

When I try to use the SDK, I know get the following error:

PHP Error Wrote:Fatal error: Cannot redeclare class mybb
So could I just rename the SDK MyBB class to MyBBSDK or something? Would that work?
You could, if you updated the calls to the class accordingly.