MyBB Community Forums

Full Version: Can someone explain this Bug solution?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I need to hot patch my copy of MyBB to fix this error since I upgraded to PHP 5.4
http://dev.mybb.com/issues/2012
I can't really figure out what the solution is exactly. It's not worded very well at all...

Thanks in advance!
That bug fix will be in 1.6.9

Quote:Target version set to 1.6.9
Right. I am trying to make the fix now. They attempt to explain how to fix it but it isn't very clear. Can anyone help?
You should probably wait until 1.6.9 is released as there are a lot of PHP 5.4 bugs which are going to be fixed in that version.
Waiting for 1.6.9 = doing nothing.
I'm at least going to try to tackle the bugs that are causing the most issues
Can no one help?
Hide warning errors maybe?
Possibly the same issue? http://dev.mybb.com/issues/1848

Solution (untested):

change get_events($calendar['cid'] to get_events($calendar

change e.cid='{$calendar}' to e.cid='{$calendar[\'cid\']}'