How to Fix LUA Error on World of Warcraft | Windows PC

World of Warcraft is a massively multiplayer online role-playing game (MMORPG) that was released back in 2004 by Blizzard Entertainment. Although the game is really impressive, some players are encountering LUA Error on World of Warcraft on their Windows PC. If you’re also one of the victims, make sure to follow this troubleshooting guide properly.

Games like World of Warcraft or Roblox basically use LUA scripts for adding mod files, implementing add-ons, macros, etc. Though it’s not a big thing to run an LUA script error in World of Warcraft, it’s quite easy to fix such an issue on Windows platforms. Talking about the possible reasons behind such an issue, the World of Warcraft interface can have a glitch.

Whereas add-on errors or any kind of misconfiguration can cause incompatibility or LUA errors whatsoever. Now, without wasting any more time, let’s get into it.

How to Fix LUA Error on World of Warcraft | Windows PC

How to Fix LUA Error on World of Warcraft | Windows PC

Before jumping into the advanced level of troubleshooting, you should try the basic troubleshooting method to fix the issue. This will reload LUA by using the World of Warcraft chatbox. To do so:

  • Open World of Warcraft > Now, open your chatbox using the ‘Hotkey’ that you’ve saved.
  • Type the following command and hit Enter to execute it:
/reload
  • Once done, restart the World of Warcraft game to check the issue.

If it has fixed the problem, you’re good to go. Otherwise, follow some of the possible workarounds below.

Advertisements

1. Reset World of Warcraft Interface

  • If the World of Warcraft game is already running, close it properly.
  • Now, uninstall any add-on manager that you’re running.
  • Then go to the installed World of Warcraft folder on your PC by running the Battle.net (Blizzard) desktop application > Select World of Warcraft > Click on Options > Select Show in Explorer.
    • Go to the World of Warcraft shortcut on your desktop screen and right-click on it > Select Open file location from the menu.
  • Mostly the installed folder of WoW on your PC should be like:
C:Program Files (x86)World of Warcraft

C:Program FilesWorld of Warcraft

C:Users[username]PublicGamesWorld of Warcraft
  • Once you’re inside the installed World of Warcraft directory, click on the WoW game version (_retail_or_classic_).
  • Next, rename the following folders:
    • Cache to Cache_Old
    • Interface to Interface_Old
    • WTF to WTF_Old
  • Finally, close the window, and relaunch WoW to check LUA errors.

World of Warcraft will automatically reinstall the necessary files and folders upon relaunch. If in case, you’re still experiencing the error later reset, then maybe a console variable is causing such an issue. In that scenario, you’ll require to reset your console variables.

2. Reset World of Warcraft Console Variables

In order to reset WoW console variables, you can follow the steps below:

  • When you’re inside the WoW game, open your in-game chatbox.
  • Now, type the following commands into the console box:
/Console Cvar_reset

/console cvar_default
  • Hit Enter to apply changes.

3. Steps to Display LUA Errors in WoW

  • Make sure to close World of Warcraft if it’s already running.
  • Head over to the location where you’ve installed WoW files on your PC.
  • Press and hold the Shift key on your keyboard > Right-click on an empty area in the folder.
  • Now, click on the Open PowerShell window here or the Open command window here.
  • Once the command prompt window opens, type the following command:
wow - console
  • Finally, press Enter to launch WoW with the console enabled.

4. Find Out Problematic Add-on in WoW

World of Warcraft will notify you of any script errors and warnings it may encounter. Additionally, enabling the console will definitely give you more error info.

  • Press the ` (backtick/backquote) key on your keyboard to access the console. You’ll require to manually scan through the console for any red text that may indicate WoW LUA errors.

Advertisement

You’ll gonna receive the name of the problematic LUA script from the console.

Advertisements

Now, once you’ve determined which add-on is corrupt, you can either manually update the add-on or delete it easily.

If you’re using WoW Classic, you may find add-ons stored in one of the following directories:

C:Program Files (x86)World of Warcraft_classic_InterfaceAddons

C:Program FilesWorld of Warcraft_classic_InterfaceAddons

C:Users[username]PublicGamesWorld of Warcraft_classic_InterfaceAddons

If you’re using the WoW retail version, you’ll find add-ons stored in the following directories:

Advertisements
C:Program Files (x86)World of Warcraft_retail_InterfaceAddons

C:Program FilesWorld of Warcraft_retail_InterfaceAddons

C:Users[username]PublicGamesWorld of Warcraft_retail_InterfaceAddons

5. Steps to Hide LUA Errors

Sometimes an add-on will cause an LUA warning or error but it won’t be able to crash the game or gameplay. In such scenarios, it’s recommended to hide them.

  • Open the WoW game menu.
  • Select Interface > Click on Help on the left panel.
  • Uncheck the Display LUA Errors checkbox.

6. Disable WoW LUA Errors

In order to disable the WoW LUA error prompts, you can type the following command into the chatbox:

/console scriptErrors 0

Now, if you think about showcasing the WoW LUA errors in the near future, you can follow the next method to do so.

7. Show WoW LUA Errors

Finally, if you’ve decided to display WoW LUA script errors in the near future for further troubleshooting reasons, you can run the following command in the chatbox:

/console scriptErrors 1

That’s it, guys. We hope you’ve found this guide helpful. For additional queries, let us know in the comment below.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.