Bug report / LUA error

This pops up when the UI loads.

Date: 2018-02-27 17:14:36
ID: -1
Error occured in: Global
Count: 4
Message: …\AddOns\AskMrRobot\Shopping.lua line 304:
bad argument #1 to ‘pairs’ (table expected, got nil)
Debug:
[C]: pairs()
AskMrRobot\Shopping.lua:304: RefreshShoppingUi()
AskMrRobot\Shopping.lua:145: ShowShopWindow()
AskMrRobot\Gear.lua:412:
AskMrRobot\Gear.lua:412
(tail call): ?
[C]: ?
[string “safecall Dispatcher[4]”]:9:
[string “safecall Dispatcher[4]”]:5
(tail call): ?
…ntory\Externals\curse\svn\Ace3-AceGUI\AceGUI-3.0.lua:314: Fire()
AskMrRobot\ui\AmrUiButton.lua:25:
AskMrRobot\ui\AmrUiButton.lua:22
Locals:
None
AddOns:
Swatter, v7.5.5724 (TasmanianThylacine)
NPCScanOverlay, v7.3.0.1
NPCScanOverlayBroker, v1.2.7
ArkInventory, v30740
ArkInventoryRules, v10003
ArkInventoryRulesExample, v10000
AskMrRobot, v57
AucAdvanced, v7.5.5724 (TasmanianThylacine)
AucFilterBasic, v7.5.5724 (TasmanianThylacine)
AucFilterOutlier, v7.5.5724.5459(7.5/embedded)
AucMatchUndercut, v7.5.5724.5585(7.5/embedded)
AucScanData, v7.5.5724 (TasmanianThylacine)
AucStatHistogram, v7.5.5724 (TasmanianThylacine)
AucStatiLevel, v7.5.5724 (TasmanianThylacine)
AucStatPurchased, v7.5.5724 (TasmanianThylacine)
AucStatSales, v7.5.5724.5598(7.5/embedded)
AucStatSimple, v7.5.5724 (TasmanianThylacine)
AucStatStdDev, v7.5.5724 (TasmanianThylacine)
AucStatWOWEcon, v7.5.5724.5613(7.5/embedded)
AucUtilAHWindowControl, v7.5.5724.5575(7.5/embedded)
AucUtilAppraiser, v7.5.5724.5719(7.5/embedded)
AucUtilAskPrice, v7.5.5724.5599(7.5/embedded)
AucUtilAutoMagic, v7.5.5724.5686(7.5/embedded)
AucUtilCompactUI, v7.5.5724.5715(7.5/embedded)
AucUtilEasyBuyout, v7.5.5724.5576(7.5/embedded)
AucUtilFixAH, v7.5.5724 (TasmanianThylacine)
AucUtilItemSuggest, v7.5.5724.5651(7.5/embedded)
AucUtilPriceLevel, v7.5.5724.5633(7.5/embedded)
AucUtilScanButton, v7.5.5724.5631(7.5/embedded)
AucUtilScanFinish, v7.5.5724.5720(7.5/embedded)
AucUtilScanProgress, v7.5.5724.4979(7.5/embedded)
AucUtilScanStart, v7.5.5724.5347(7.5/embedded)
AucUtilSearchUI, v7.5.5724.5721(7.5/embedded)
AucUtilSimpleAuction, v7.5.5724.5705(7.5/embedded)
AucUtilVendMarkup, v7.5.5724.4828(7.5/embedded)
Auctionator, v4.0.19
Babylonian, v5.1.DEV.332(/embedded)
Bartender4, v4.7.10
BeanCounter, v7.5.5724 (TasmanianThylacine)
BrokerGarrison, v2.0.8.1
Configator, v5.1.DEV.431(/embedded)
DebugLib, v5.1.DEV.337(/embedded)
Enchantrix, v7.5.5724 (TasmanianThylacine)
EnchantrixBarker, v7.5.5724 (TasmanianThylacine)
Factionizer, v6.02.00.13 16.02.02
GTFO, v4.44.3
Informant, v7.5.5724 (TasmanianThylacine)
LibExtraTip, v5.12.DEV.430(/embedded)
MageNuggets, v5.5.7
MageNuggetsCooldownMonitor, v1.1.2
MageNuggetsStatMonitor, v1.2.1
MasterPlanA, vA
NPCScan, v7.3.5.2
Pawn, v2.2.18
Postal, vv3.5.8
Skada, v1.7.2
SlideBar, v7.5.5724 (TasmanianThylacine)
Stubby, v7.5.5724 (TasmanianThylacine)
TipHelper, v5.12.DEV.405(/embedded)
Titan, v5.12.6.70300
TitanBag, v5.12.6.70300
TitanClock, v5.12.6.70300
TitanGold, v5.12.6.70300
TitanLocation, v5.12.6.70300
TitanLootType, v5.12.6.70300
TitanPerformance, v5.12.6.70300
TitanRepair, v5.12.6.70300
TitanVolume, v5.12.6.70300
TitanXP, v5.12.6.70300
TotalAP, v1.5.5 (r28-release-4)
BlizRuntimeLib_enUS v7.3.5.70300
(ck=a90)

When “show shopping list” button is clicked, this error pops up:

Date: 2018-02-27 17:26:27
ID: 1
Error occured in: Global
Count: 1
Message: …\AddOns\AskMrRobot\Shopping.lua line 304:
bad argument #1 to ‘pairs’ (table expected, got nil)
Debug:
[C]: pairs()
AskMrRobot\Shopping.lua:304: RefreshShoppingUi()
AskMrRobot\Shopping.lua:145: ShowShopWindow()
AskMrRobot\Gear.lua:412:
AskMrRobot\Gear.lua:412
(tail call): ?
[C]: ?
[string “safecall Dispatcher[4]”]:9:
[string “safecall Dispatcher[4]”]:5
(tail call): ?
…ntory\Externals\curse\svn\Ace3-AceGUI\AceGUI-3.0.lua:314: Fire()
AskMrRobot\ui\AmrUiButton.lua:25:
AskMrRobot\ui\AmrUiButton.lua:22
Locals:
None
AddOns:
Swatter, v7.5.5724 (TasmanianThylacine)
NPCScanOverlay, v7.3.0.1
NPCScanOverlayBroker, v1.2.7
ArkInventory, v30740
ArkInventoryRules, v10003
ArkInventoryRulesExample, v10000
AskMrRobot, v57
Babylonian, v5.1.DEV.332(/embedded)
Bartender4, v4.7.10
Configator, v5.1.DEV.431(/embedded)
DebugLib, v5.1.DEV.337(/embedded)
EnchantrixBarker, v7.5.5724 (TasmanianThylacine)
Factionizer, v6.02.00.13 16.02.02
GTFO, v4.44.3
Informant, v7.5.5724 (TasmanianThylacine)
LibExtraTip, v5.12.DEV.430(/embedded)
MageNuggets, v5.5.7
MageNuggetsCooldownMonitor, v1.1.2
MageNuggetsStatMonitor, v1.2.1
NPCScan, v7.3.5.2
Pawn, v2.2.18
Postal, vv3.5.8
Skada, v1.7.2
Stubby, v7.5.5724 (TasmanianThylacine)
TipHelper, v5.12.DEV.405(/embedded)
Titan, v5.12.6.70300
TitanBag, v5.12.6.70300
TitanClock, v5.12.6.70300
TitanGold, v5.12.6.70300
TitanLocation, v5.12.6.70300
TitanLootType, v5.12.6.70300
TitanPerformance, v5.12.6.70300
TitanRepair, v5.12.6.70300
TitanVolume, v5.12.6.70300
TitanXP, v5.12.6.70300
BlizRuntimeLib_enUS v7.3.5.70300
(ck=443)

and also this one:

Date: 2018-02-27 17:14:36
ID: -2
Error occured in: Global
Count: 4
Message: …\AddOns\AskMrRobot\Shopping.lua line 304:
bad argument #1 to ‘pairs’ (table expected, got nil)
Debug:
[C]: pairs()
AskMrRobot\Shopping.lua:304: RefreshShoppingUi()
AskMrRobot\Shopping.lua:145: ShowShopWindow()
AskMrRobot\Gear.lua:412:
AskMrRobot\Gear.lua:412
(tail call): ?
[C]: ?
[string “safecall Dispatcher[4]”]:9:
[string “safecall Dispatcher[4]”]:5
(tail call): ?
…ntory\Externals\curse\svn\Ace3-AceGUI\AceGUI-3.0.lua:314: Fire()
AskMrRobot\ui\AmrUiButton.lua:25:
AskMrRobot\ui\AmrUiButton.lua:22
Locals:
None
AddOns:
Swatter, v7.5.5724 (TasmanianThylacine)
NPCScanOverlay, v7.3.0.1
NPCScanOverlayBroker, v1.2.7
ArkInventory, v30740
ArkInventoryRules, v10003
ArkInventoryRulesExample, v10000
AskMrRobot, v57
AucAdvanced, v7.5.5724 (TasmanianThylacine)
AucFilterBasic, v7.5.5724 (TasmanianThylacine)
AucFilterOutlier, v7.5.5724.5459(7.5/embedded)
AucMatchUndercut, v7.5.5724.5585(7.5/embedded)
AucScanData, v7.5.5724 (TasmanianThylacine)
AucStatHistogram, v7.5.5724 (TasmanianThylacine)
AucStatiLevel, v7.5.5724 (TasmanianThylacine)
AucStatPurchased, v7.5.5724 (TasmanianThylacine)
AucStatSales, v7.5.5724.5598(7.5/embedded)
AucStatSimple, v7.5.5724 (TasmanianThylacine)
AucStatStdDev, v7.5.5724 (TasmanianThylacine)
AucStatWOWEcon, v7.5.5724.5613(7.5/embedded)
AucUtilAHWindowControl, v7.5.5724.5575(7.5/embedded)
AucUtilAppraiser, v7.5.5724.5719(7.5/embedded)
AucUtilAskPrice, v7.5.5724.5599(7.5/embedded)
AucUtilAutoMagic, v7.5.5724.5686(7.5/embedded)
AucUtilCompactUI, v7.5.5724.5715(7.5/embedded)
AucUtilEasyBuyout, v7.5.5724.5576(7.5/embedded)
AucUtilFixAH, v7.5.5724 (TasmanianThylacine)
AucUtilItemSuggest, v7.5.5724.5651(7.5/embedded)
AucUtilPriceLevel, v7.5.5724.5633(7.5/embedded)
AucUtilScanButton, v7.5.5724.5631(7.5/embedded)
AucUtilScanFinish, v7.5.5724.5720(7.5/embedded)
AucUtilScanProgress, v7.5.5724.4979(7.5/embedded)
AucUtilScanStart, v7.5.5724.5347(7.5/embedded)
AucUtilSearchUI, v7.5.5724.5721(7.5/embedded)
AucUtilSimpleAuction, v7.5.5724.5705(7.5/embedded)
AucUtilVendMarkup, v7.5.5724.4828(7.5/embedded)
Auctionator, v4.0.19
Babylonian, v5.1.DEV.332(/embedded)
Bartender4, v4.7.10
BeanCounter, v7.5.5724 (TasmanianThylacine)
BrokerGarrison, v2.0.8.1
Configator, v5.1.DEV.431(/embedded)
DebugLib, v5.1.DEV.337(/embedded)
Enchantrix, v7.5.5724 (TasmanianThylacine)
EnchantrixBarker, v7.5.5724 (TasmanianThylacine)
Factionizer, v6.02.00.13 16.02.02
GTFO, v4.44.3
Informant, v7.5.5724 (TasmanianThylacine)
LibExtraTip, v5.12.DEV.430(/embedded)
MageNuggets, v5.5.7
MageNuggetsCooldownMonitor, v1.1.2
MageNuggetsStatMonitor, v1.2.1
MasterPlanA, vA
NPCScan, v7.3.5.2
Pawn, v2.2.18
Postal, vv3.5.8
Skada, v1.7.2
SlideBar, v7.5.5724 (TasmanianThylacine)
Stubby, v7.5.5724 (TasmanianThylacine)
TipHelper, v5.12.DEV.405(/embedded)
Titan, v5.12.6.70300
TitanBag, v5.12.6.70300
TitanClock, v5.12.6.70300
TitanGold, v5.12.6.70300
TitanLocation, v5.12.6.70300
TitanLootType, v5.12.6.70300
TitanPerformance, v5.12.6.70300
TitanRepair, v5.12.6.70300
TitanVolume, v5.12.6.70300
TitanXP, v5.12.6.70300
TotalAP, v1.5.5 (r28-release-4)
BlizRuntimeLib_enUS v7.3.5.70300
(ck=a90)