MyBB Community Forums

Full Version: Downgrade from 1.8.4 to 1.8.3
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi, I have just upgraded mybb from 1.8.3 to 1.8.4 but I have un problem with Xthreads. When I open a showthread I have this error:

Quote:Fatal error: Declaration of _objcont_2::fetch_array() must be compatible with DB_Base::fetch_array($query, $resulttype = MYSQL_ASSOC) in /mysite/public/forum/inc/plugins/xthreads.php(881) : eval()'d code on line 25

How can I do downgrade fro 1.8.4 to 1.8.3 again? I saved files before of upgrade.

Thanks
lol, 1.8.4 broke XThreads? Way to go.
It is only on showthread..I have xthreads images also on forumdisplay and I can look forumdisplays without problems..but I can't read showthreads Sad Bof....
OMG Sad
thanks for the heads up Toungue
Probably it's a problem of "Show first post on every showthread page", I set it on "No" and at least showthread now I can look :p
Get same error when trying to make a newreply.
I am not seeing an error on new reply (with show first post set to off) - do you mean from the new reply button or from the postbit quote reply?
Sounds like xThreads might be extending the database classes somehow. 1.8.4 introduces a base interface for the database classes to better fit coding standards.

The error appears to be within the control_object() function that is shipped with xThreads. I've opened a pull request that fixes the issue here: https://github.com/MyBBStuff/XThreads-My...gin/pull/1

Also see my reply on the official xThreads release thread: http://mybbhacks.zingaburga.com/showthre...0#pid18240
Yup, line 881 in XThreads php is the control object. Omar uses that control object code in his plugins too. Maybe he knows.
Pages: 1 2