Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted January 26, 2024Jan 26 I'm having an issue on my LIVE forum, as well as, the new Test Install forum. I cannot edit any options in the Guest Group. The groups: Admin, Members and Moderator works fine. Screenshot of the error, and how to do a possible fix for this. Thanks. Edited to update the version: This is with v4.7.15 Edited January 26, 2024Jan 26 by Michael Lachney
January 26, 2024Jan 26 Hmmm - actually, this looks like it could be reproducible without strict mode involved... Ignore that - it's only reproducible with strict mode enabled on mySQL For the guest group, the g_mod_post_unit evaluates to NULL in applications\core\extensions\core\GroupForm\Content.php because it's not present on the form: if( $group->g_id != \IPS\Settings::i()->guest_group ){ $form->add( new \IPS\Helpers\Form\Custom( 'g_mod_post_unit'...... ...but the Save function doesn't take that into account: /* Mod Queue */ $group->g_mod_post_unit = isset( $values['g_mod_post_unit'][2] ) ? 0 : $values['g_mod_post_unit'][0]; Not an issue if not using strict mode. Edited January 26, 2024Jan 26 by Nathan Explosion
January 26, 2024Jan 26 I cant replicate on my end at all. Please could you let me know exactly what it is you are changing?
January 26, 2024Jan 26 The error is thrown only when editing the GUEST GROUP with MYSQL STRICT MODE enabled.
January 26, 2024Jan 26 16 minutes ago, Marc Stridgen said: I cant replicate on my end at all. Please could you let me know exactly what it is you are changing? Just to answer this - nothing is being changed; just saving the group with strict mode on will trigger the error.
January 26, 2024Jan 26 1 hour ago, Nathan Explosion said: Just to answer this - nothing is being changed; just saving the group with strict mode on will trigger the error. Got there now once you mentioned it is still while on strict. I wasnt 🙂 Its not "strictly" (pun intended lol) to do with that. Its an incorrect null value being passed, but thats for the devs to sort
January 26, 2024Jan 26 1 minute ago, Marc Stridgen said: Its an incorrect null value being passed... I know.
January 26, 2024Jan 26 Author 8 hours ago, Nathan Explosion said: Disable strict mode on your mySQL instance. Thanks. Disabled strict mode and I was able to make the changes needed.
February 17, 2024Feb 17 I'm having this problem too when trying to change guests permissions on which forums they can view
February 19, 2024Feb 19 On 2/17/2024 at 8:05 PM, Jelly Belly™ said: I'm having this problem too when trying to change guests permissions on which forums they can view Yes, this is an open bug report at present
March 14, 2024Mar 14 This has now been resolved in the 4.7.16 release. Please update if you are seeing this issue. If you are then still seeing the issue, please let us know.