Thread Tools Display Modes
Prev Previous Post   Next Post Next
06-01-23, 11:41 PM   #1
BloodDragon
An Aku'mai Servant
AddOn Author - Click to view addons
Join Date: Mar 2017
Posts: 32
Question attempt to concatenate local 'playerName' (a nil value)

Hey, I need your help.
My addon GildenSteuer sometimes shows the error after porting from a dungeon or using a portal:

1x GildenSteuer\GildenSteuer-3.4.lua:377: attempt to concatenate local 'playerName' (a nil value)

That is the line with the error:
Lua Code:
  1. self:Debug("Add status request for " .. playerName .. " to queue")

Here is the Lines:
Lua Code:
  1. function GildenSteuer:RequestStatus(playerName, timestamp)
  2.     self:Debug("Add status request for " .. playerName .. " to queue")
  3.     if timestamp == nil then
  4.         timestamp = self:GetPlayerStatusDB(playerName, true).timestamp
  5.     end
  6.     local data = {"S", playerName}
  7.     if timestamp ~= nil then
  8.         table.insert(data, timestamp)
  9.     end
  10.     table.insert(self.outgoingQueue, data)
  11. end

I hope anyone can help me.
Attached Files
File Type: zip GildenSteuer.zip (206.5 KB, 118 views)

Last edited by BloodDragon : 06-01-23 at 11:43 PM.
  Reply With Quote
 

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » attempt to concatenate local 'playerName' (a nil value)


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off