Error right clicking Minimap button, TBC

Getting the error below on right click of button;

2x AskMrRobotClassic/Gear.lua:1192: attempt to index field ‘?’ (a nil value)[AskMrRobotClassic/Gear.lua]:1192: in function ‘EquipGearSet’[AskMrRobotClassic/Core.lua]:29: in function ‘OnClick’[BugSack/Libs/LibDBIcon-1.0-55/LibDBIcon-1.0.lua]:179: in function <BugSack/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:177>
Locals:self =  {SpecIds =  {}ProfessionIds =  {}db =  {}MIN_ADDON_VERSION = 1SpecIcons =  {}name = “AskMrRobotClassic”MIN_IMPORT_VERSION = 1ProfessionSkillLineToName =  {}SlotIds =  {}InstanceIds =  {}defaultModuleState = trueSlotEnumDisplayText =  {}Serializer =  {}RegionNames =  {}ClassIds =  {}enabledState = trueFactionIds =  {}baseName = “AskMrRobotClassic”defaultModuleLibraries =  {}ADDON_NAME = “AskMrRobotClassic”SlotDisplayText =  {}InstanceIdsOrdered =  {}modules =  {}orderedModules =  {}MessageTypes =  {}Colors =  {}FrameLevels =  {}ClassIcons =  {}RaceIds =  {}Difficulties =  {}SupportedInstanceIds =  {}}setupIndex = 1(*temporary) = nil(*temporary) = “player”(*temporary) = false(*temporary) = nil(*temporary) = nil(*temporary) = 0(*temporary) = 1(*temporary) = “attempt to index field ‘?’ (a nil value)”_activeSetupId = nilAmr =  {SpecIds =  {}ProfessionIds =  {}db =  {}MIN_ADDON_VERSION = 1SpecIcons =  {}name = “AskMrRobotClassic”MIN_IMPORT_VERSION = 1ProfessionSkillLineToName =  {}SlotIds =  {}InstanceIds =  {}defaultModuleState = trueSlotEnumDisplayText =  {}Serializer =  {}RegionNames =  {}ClassIds =  {}enabledState = trueFactionIds =  {}baseName = “AskMrRobotClassic”defaultModuleLibraries =  {}ADDON_NAME = “AskMrRobotClassic”SlotDisplayText =  {}InstanceIdsOrdered =  {}modules =  {}orderedModules =  {}MessageTypes =  {}Colors =  {}FrameLevels =  {}ClassIcons =  {}RaceIds =  {}Difficulties =  {}SupportedInstanceIds =  {}}L =  {ArmorTypes =  {}ImportButtonOk = “Import”ImportErrorFormat = “The data string is not in the correct format.”LogWipeNote = “The person uploading the log must be the one to use this wipe command.”LogButtonWipeText = “Wipe!”JunkScrap = “Click an item to add to the scrapper”OptionsDisableEmName = “Disable creating Equipment Manager sets”GearButtonShop = “Show Shopping List”OptionsUiScaleName = “Ask Mr. Robot UI scale”VersionChatTitle = “AMR Addon Version:”OptionsJunkVendorDesc = “Whenever you open the scrapper or a vendor, automatically show the junk list window if your list is not empty.”ImportButtonCancel = “Cancel”LogButtonReloadText = “Reload UI”LogChatNoWipes = “There is no recent manual wipe to remove.”SpecsShort =  {}LogInstructions = "1.) Click Start Logging or enable Auto-Logging for your desired raids.
2.) When you are ready to upload, exit World of Warcraft* or reload your UI.**
3.) Launch the AMR Client to upload your log.
*It is not necessary to exit WoW, but it is highly recommended. This will allow the AMR client to prevent your log file from getting very large.
**The AMR addon collects extra data at the start of each encounter for all players in your raid with the AMR addon. Other players do not need to enable logging! They just need to have the addon installed and enabled. This data is only saved to disk if you exit WoW or reload your UI before uploading."ShopHeaderGems = “Gems”TabExportText = “Export”MinimapTooltip = "Left Click to open the Ask Mr. Robot window.
Right Click to cycle specs and equip your saved gear for that spec."ExportTitle = “Export Instructions”JunkVendor = “Click an item to sell”TwoHand = “Two-Hand”OptionsUiScaleDesc = “Enter a value between 0.5 and 1.5 to change the scale of the Ask Mr. Robot user interface, press Enter, then close/open the window for it take effect. If the positioning gets messed up, use the /amr reset command.”ImportErrorFaction = "It looks your faction may have changed.  Please go the web