View Single Post
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, 50 views)

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