Skip to main content
Discovery icon for Tukui Community Discord server

Tukui Community

23,011 Online
86,142 Members
# retail-support3 people

ElvUI error fix

A ElvUI initialization error related to 'C_GameRules.IsGameRuleActive' is identified as a known issue with a simple fix being implemented.

  • The primary error message is 'Interface/AddOns/ElvUI/Game/Shared/General/Initialize.lua:124: bad argument #1 to '?' (Usage: local isActive = C_GameRules.IsGameRuleActive(gameRule))'
  • The error occurs because the game client doesn't recognize a specific game rule (e.g., Hardcore, SoD, Plunder), leading to a 'bad argument' error when `C_GameRules.IsGameRuleActive` is called with an unknown rule.
  • Previous attempts to fix the error by checking if the function `C_GameRules.IsGameRuleActive` existed were incorrect; the function itself exists, but it's the game rule passed to it that's problematic.
  • The fix involves preventing `nil` or other invalid values from being passed to the `C_GameRules.IsGameRuleActive` API.
Summarized from recent messages, might be inaccurate

Talk, Play, &
Hang Out

Find your space to hang out, discuss the latest updates with the party chat, and see who's down to join your next match.
Get App