![]() |
The MFGG forums are now running PHP 8.2 - Printable Version +- MFGG Forums (https://forums.mfgg.net) +-- Forum: MFGG (https://forums.mfgg.net/forumdisplay.php?fid=4) +--- Forum: News and Events (https://forums.mfgg.net/forumdisplay.php?fid=14) +--- Thread: The MFGG forums are now running PHP 8.2 (/showthread.php?tid=3331) |
The MFGG forums are now running PHP 8.2 - VinnyVideo - 05-31-2025 The MFGG forums are finally running PHP 8.2! Getting the forums from PHP 5.6 to 8.2 was a tedious undertaking, but it was worth it. Running the latest version of PHP gives us improved performance and ensures that it'll be feasible to continue running the forums for a long time to come. As with the PHP upgrades to the mainsite and Wiki, you might notice occasional bugs. If you notice any PHP warnings at the top of forum pages or any crashes, don't panic - such oddities are to be expected after a PHP upgrade. If anything isn't working properly, just reply to this topic and tell me what page is causing problems, and I'll get it fixed. I'm aware that badges next to posts still look a little funny - that's on my to-do list. A couple of plugins that we used to use are now disabled, but I hope to bring them back in the future. PHP 8.2 is more likely to throw errors than PHP 5.6. This might sound like a bad thing, but it's actually a very good thing - when you get a PHP warning, something wasn't coded as well as it could've and might not be working at all. For example, this update helped us realize that the reports notification wasn't working properly, so some reports stayed unread for a while. Thanks for being patient as we make MFGG a slightly more awesome place every day! RE: The MFGG forums are now running PHP 8.2 - Vert - 06-01-2025 And here I thought converting old WordPress websites from to PHP8 was an awful task. Respect to getting it from 5 to 8, that's gotta be painful work. RE: The MFGG forums are now running PHP 8.2 - Thebrainhellscape13 - 06-01-2025 Oh, I thought the code just exploded or smth ðŸ˜ðŸ˜ RE: The MFGG forums are now running PHP 8.2 - VinnyVideo - 06-01-2025 @Vert Yeah, getting MyBB up to PHP 8.2 was painful indeed! It was actually harder than updating the mainsite software. The core MyBB software is fine - the problems came from a few outdated custom templates and some old, unsupported plugins. We use quite a few plugins to support helpful features that don't come packaged with MyBB - things like the 1-Up button, notifications system, WYSIWYG post editor, and forum-Discord integration. And just about all of these plugins caused errors and warnings in PHP 8.2! Some plugins are well-supported, and I just needed to find the latest version and install it. But some plugins haven't been touched in years - for example, there was an Ajax plugin that one random person in Iran made in 2014, and it hasn't been updated in a very long time. I was able to manually update some of the simpler plugins, but I had to disable a couple of less-important plugins that aren't supported anymore (the aforementioned Ajax plugin, which really wasn't needed anymore, and a "show a birthday notification on your birthday" plugin that hadn't worked in years). RE: The MFGG forums are now running PHP 8.2 - VinnyVideo - 06-03-2025 I installed an update for the OUGC Awards plugin, so multi-badges should be working properly again! Thanks Omar G., the plugin creator, for helping me with this. While I was at it, I fixed the badge order, so all members' badges are now displayed in the preferred order. (Badge order has been a recurring headache on MyBB over the years.) |