Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessing The Ban List Produces Undefined Array Key "sa" #7640

Closed
TwitchisMental opened this issue Dec 6, 2022 · 1 comment · Fixed by #7703
Closed

Accessing The Ban List Produces Undefined Array Key "sa" #7640

TwitchisMental opened this issue Dec 6, 2022 · 1 comment · Fixed by #7703

Comments

@TwitchisMental
Copy link

TwitchisMental commented Dec 6, 2022

Description

Get 4 errors in error log when trying to access the ban list.

Steps to reproduce

  1. Fresh Install of 2.1.3
  2. Access the Ban List from the "Administration Center" This only happens when using the icon on the "Administration Center" page.
  3. Check error log after and see 4 errors. 2: Undefined array key "sa"

Environment (complete as necessary)

  • Version/Git revision: SMF 2.1.3
  • Database Type: MariaDB
  • Database Version: 8.0.23
  • PHP Version: 8.0.23

Additional information/references

#0: smf_error_handler()
Called from C:\xampp8.0\htdocs\smf\Sources\ManageBans.php on line 72
#1: Ban()
Called from C:\xampp8.0\htdocs\smf\Sources\Admin.php on line 499
#2: AdminMain()
Called from C:\xampp8.0\htdocs\smf\index.php on line 191

@sbulen
Copy link
Contributor

sbulen commented Dec 6, 2022

Confirmed this was introduced in 2.1.3.

@live627 live627 linked a pull request Dec 6, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants