Jump to content

Recommended Posts

Posted (edited)

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

 

Could contain: Page, Text, File, Webpage

Edited by Michael Lachney
Posted (edited)

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

Could contain: File, Page, Text, Webpage

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 by Nathan Explosion
Posted
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.

Posted
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

  • 3 weeks later...
  • 4 weeks later...
Posted

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...