MyBB Community Forums

Full Version: How Can I Use debug_backtrace Function?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi.
In MyBB 1.6.5 I can't use debug_backtrace function in my plugins, but I have to use this function!
Since inc/class_plugins.php is changed in MyBB 1.6.5
from(1.6.4):
					$returnargs = call_user_func_array($hook['function'], array(&$arguments));


to(1.6.5):
				$func = $hook['function'];
				$returnargs = $func($arguments);

The Plugin Can't fetch debug_backtrace() arguments!
How can I Solve This Problem?!