News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Undefined index: member_groups

Started by Shades., October 05, 2022, 03:38:06 PM

Previous topic - Next topic

Shades.

SMF 2.1.2

So I cleared my browser history and cache this morning and just now logged back into my forum and get this error message:

QuoteError
Type of error
Undefined_vars
Error message
8: Undefined index: member_groups
File
/home/******/public_html/Sources/ManageMembergroups.php
Line
815
URL of page causing the error
https://*******.com/?action=admin;area=membergroups;sa=edit;group=9

Backtrace information
#0: smf_error_handler()
Called from /home/******/public_html/Sources/ManageMembergroups.php on line 815
#1: EditMembergroup()
Called from /home/******/public_html/Sources/Subs.php on line 6068
#2: call_helper()
Called from /home/******/public_html/Sources/ManageMembergroups.php on line 66
#3: ModifyMembergroups()
Called from /home/******/public_html/Sources/Admin.php on line 509
#4: AdminMain()
Called from /home/******/public_html/index.php on line 191

What does it mean and how can I fix it?

Thanks,
Shades 8)
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Doug Heffernan

Quote from: Shades. on October 05, 2022, 03:38:06 PMUndefined index: member_groups

This error ususally happens when php tries to access an undefined index of an array.

Have you installed any mods lately that have to do with group management?

Shades.

I have a lot of mods installed. I redone my site and reinstalled the same mods I had before but no new mods and I didn't get that error before. ???

Here is the long list of mods I have installed...lol! ;D

You cannot view this attachment.

I have logged out and logged back in and don't get that error. Seems to only happen after I clear my cache and log in. ???
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

ozp

It is weird that you start at edit member group after a login.

What happens if you go to that page again or tries to edit a member group?
https://*******.com/?action=admin;area=membergroups;sa=edit;group=9

Shades.

Quote from: ozp on October 06, 2022, 01:55:07 AMIt is weird that you start at edit member group after a login.

What happens if you go to that page again or tries to edit a member group?
https://*******.com/?action=admin;area=membergroups;sa=edit;group=9
Nothing, just went there to edit and clicked save and no errors. Very weird indeed...I can't reproduce the error! :o
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Advertisement: