Quick Fix! If ProfLevelHelper Won't Open the Window
Hey everyone!
I've been playing around with the ProfLevelHelper addon and hit a wall with a UI loading error that kept the guide window from popping up.
The exact error was: CreateFrame(): Couldn't find inherited node "BackdropTemplate".
Turns out, that specific template (BackdropTemplate) is an outsider hereāit wasn't added to the WoW API until later expansions, which is why 3.3.5a clients don't recognize it.
The Simple Solution
The good news is the fix is super easy and only requires a tiny change in the Guide.lua file. We just need to modify the line that creates the main window frame and drop the reference to that unsupported template.
Step 1: Locate the file
Open your Guide.lua file within the addon's folder.
Step 2: Make the change
Look for the line that creates the frame (it's around line 107 in the code I was using):
Lua
-- THE ORIGINAL (error-causing) CODE:
local frame = CreateFrame("Frame", "PLHEngineeringFrame", UIParent, "BackdropTemplate")
Now, replace that line with this corrected version (we're simply removing the "BackdropTemplate" part):
Lua
-- THE CORRECTED CODE (3.3.5a compatible):
local frame = CreateFrame("Frame", "PLHEngineeringFrame", UIParent)
Save the file and reload your game (or interface). The addon should load properly now and the guide window should open without any errors!