Skip to content

V5.3.7 Bug Fix Fork - Litebans r.includes error#4170

Merged
AuroraLS3 merged 2 commits intoplan-player-analytics:masterfrom
SaolGhra:master
Jul 17, 2025
Merged

V5.3.7 Bug Fix Fork - Litebans r.includes error#4170
AuroraLS3 merged 2 commits intoplan-player-analytics:masterfrom
SaolGhra:master

Conversation

@SaolGhra
Copy link
Copy Markdown
Contributor

Fix 'r.includes is not a function' on Litebans Kick Page (#4169)

Description

This PR fixes a JavaScript runtime error on the LiteBans Kick page where r.includes would throw "is not a function." The issue was due to r not always being an array. The fix ensures r is an array before .includes is called, resolving the error that persisted across pages until refresh.

Checklist

  • Added my name to /Plan/common/src/main/java/com/djrapitops/plan/delivery/rendering/html/Contributors.java
  • If locale changes were made, added LangCode with my name in /Plan/common/src/main/java/com/djrapitops/plan/settings/locale/LangCode.java

Testing

Tested on a local Plan instance: the error no longer appears and page navigation works as expected.

Thank you!

Fixed r.includes on Litebans Kick Page
@SaolGhra SaolGhra changed the title V5.3.7 Bug Fix Fork V5.3.7 Bug Fix Fork - Litebans r.includes error Jul 17, 2025
Comment thread Plan/react/dashboard/src/components/extensions/ExtensionTable.jsx Outdated
@AuroraLS3 AuroraLS3 merged commit de06ae8 into plan-player-analytics:master Jul 17, 2025
1 check passed
VRXDev2 pushed a commit to VRXDev2/Plan that referenced this pull request Jan 5, 2026
)

Affects issues:
- Fixed plan-player-analytics#4169

Co-authored-by: Aurora Lahtela <24460436+AuroraLS3@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants