Lua error WoW: Guide to fix,hide and disable script errors

by Radu Tyrsina
Radu Tyrsina
Radu Tyrsina
CEO & Founder
Radu Tyrsina has been a Windows fan ever since he got his first PC, a Pentium III (a monster at that time). For most of the kids of... read more
Affiliate Disclosure
  • Games like World of Warcraft and Roblox use Lua scripts for mods, addons, and macros.
  • It's not uncommon to run into a Lua script error in WoW, but thanks to its modularity, it's relatively painless to fix.
  • Some of the fixes in this guide can be used to remedy other interface errors, as you can see from our library of WoW guides.
  • If you have any other game-related queries, you can find solutions for them in our ever-expanding Blizzard Fix Hub.

To fix various PC problems, we recommend Restoro PC Repair Tool:
This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues and remove viruses now in 3 easy steps:

  1. Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues affecting your computer's security and performance
  • Restoro has been downloaded by 0 readers this month.

If you’ve ever installed addons on World of Warcraft, then you’re familiar with Lua scripts. Even if you’re innocently running WoW without mods, you’re still bound to encounter a Lua error or two.

In this guide, we’ll dissect what a WoW Lua error is and what you can do to fix it if you encounter it.

How to fix Lua errors in World of Warcraft

What is Lua error in WoW?

Before we can fix our issue we need to understand it. Therefore, the first question that needs answering is what exactly is a Lua error in Wow?

Lua is a script-based programming language that adds modularity to programs through embedding.

VLC Media Player is a great example of an application that uses Lua scripts to expand its functionality and features. These scripts are generally used in WoW to customize its user interface.

In most cases, Lua errors occur cause of a corrupt addon or interface file. However, as we’ve established earlier, if you’ve never installed an addon or customized your interface, it’s still possible to run into a Lua error.

Your Lua errors could be the result of corrupted game files – primarily interface files. This includes menus, bars, maps, character selection screens, etc. A sure-fire way to fix this issue is to reload and reset the WoW User Interface.

How do I stop Lua errors?

Reload WoW’s user interface

  1. Open your chatbox.
  2. Type this command into it:
  3. Hit enter.

Reloading the WoW interface is a surefire way to fix most user interface errors. It will take a few seconds to reload, then you can check if you’re still encountering any Lua errors.

What this solution does is save current WoW settings and updates any addon files that were loaded by the game.

This method may not work with the latest versions of WoW since the command attached to it is protected. However, if your problem is with Vanilla WoW, this should be the first solution you try.

If you’re still experiencing Lua errors after trying to reload your user interface, then maybe it’s time to reset it completely. To reset the interface, follow these steps:

Reset Wow’s User Interface

  1. If you’re running World of Warcraft, close it completely.
  2. Uninstall any addon manager you may be running.
  3. Navigate to the World of Warcraft® folder on your computer. The easiest way to locate your folder is to run the Blizzard desktop application, select World of Warcraft, click on Options and then select Show in Explorer.
    If you have a WoW shortcut on your desktop, right-click on it and select Open file location from the context menu.
    In most cases the folder is located in one of these directories:

    C:Program Files (x86)World of Warcraft
    C:Program FilesWorld of Warcraft
    C:Users[username]PublicGamesWorld of Warcraft
  4. Once you’re in the World of Warcraft® folder, click on the game version of WoW that’s giving you Lua errors (_retail_or_classic_).
  5. Rename the following folders:
    • Cache: Cache_Old
    • Interface: Interface_Old
    • WTF: WTF_Old
  6. Launch WoW.

World of Warcraft should reinstall the necessary files and folders. If you’re still experiencing an error after the reset, then a rogue console variable could be the issue. If that’s the case then you’ll need to reset your console variables.

Reset WoW console variables

  1. While in the game, open your in-game chatbox.
  2. Type these commands into the console box:
    /Console Cvar_reset
    /console cvar_default
  3. Hit enter.

If you receive a permission error after following these steps, ignore it, the command will still work.

If you’re running multiple add-ons, resetting the WoW interface and deleting all add-ons may not be a particularly enticing concept to you. It would be more efficient to trace the errant add-on and deleting or fixing it.

How to display Lua errors in WoW


  1. Close WoW if it’s running.
  2. Navigate to where the WoW installation files are located on your PC (see step 3 of the second solution).
  3. Hold shift on your keyboard and right-click on an empty spot in the folder.
  4. Select Open PowerShell window here or Open command window here.
  5. Inside the console window type in:
    wow - console
  6. Hit enter to launch WoW with the console enabled.

Using the console is the best way to display Lua errors and track them in WoW.

How to find out which addon is causing Lua errors?


By default, WoW will alert you of any script errors and warnings it may encounter. But enabling the console will give you more details.

You can access the console by pressing the “`” key on your keyboard. You’ll have to manually scan through the console for any red text related to WoW Lua errors.

Expert Tip: Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken. We recommend installing Restoro, a tool that will scan your machine and identify what the fault is.
Click here to download and start repairing.

You’ll get the name of the problematic Lua script from the console.

Once you’ve determined which addon is corrupt, you can either manually update the addon or delete it completely, along with the addon manager responsible for installing and updating it. You can then find and install a suitable alternative.

For WoW Classic, addons are usually stored in one of these 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

For the retail version of WoW, add-ons are stored in these directories:

C:Program Files (x86)World of Warcraft_retail_InterfaceAddons

C:Program FilesWorld of Warcraft_retail_InterfaceAddons

C:Users[username]PublicGamesWorld of Warcraft_retail_InterfaceAddons

How to hide Lua Errors


  1. Open the game menu.
  2.  Select Interface.
  3. Click on Help on the left panel.
  4. De-select the checkbox marked Display Lua Errors.

Sometimes an addon will cause a Lua warning or error but won’t crash the game or impede gameplay. In these cases, it’s best to hide them.

If you’re using a version of WoW that doesn’t have the above options, you’ll need to use the console to disable them.

WoW disable Lua errors


To disable WoW Lua error prompts, you can type this simple command into the chatbox:

/console scriptErrors 0

But what if you decide that you want to display errors for some troubleshooting in the future? Follow the next method to do so.

WoW Show Lua Errors

You may decide that you want to display WoW’s script errors in the future for troubleshooting purposes. All you need to do is run this command:

/console scriptErrors 1

With the simple solutions in this guide, you can understand, manage, troubleshoot, and fix WoW Lua errors.

Did we miss anything? Which solution solved your issue? Don’t hesitate to let us know down in the comments section.

idee restoro Still having issues? Fix them with this tool:
  1. Download this PC Repair Tool rated Great on (download starts on this page).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues with Patented Technologies (Exclusive Discount for our readers).

Restoro has been downloaded by 0 readers this month.

Frequently Asked Questions

  • Lua is a programming language used to add modularity or addons to software and games. Check out our comprehensive 6 best IPTV software with Lua support.

  • A Lua error occurs when one of WoW’s embedded scripts runs into a problem. A Lua error in WoW is usually caused by a broken addon or interface file.

  • You can get rid of Lua errors by updating, deleting, or replacing the addon manager or script causing the issues. You can also manually debug the script and fix any corrupted data in the script.

This article covers:Topics: