PetTracker

PetTracker

13M Downloads

11.1.1 Lua Errors regarding Rivals tab.

vstraydogstrutv opened this issue ยท 0 comments

commented

Which software were you running?

  • Addon version name: 11.1.1
  • Client used: Retail 11.1.0.59570

Please describe the bug.
Rivals not displaying pets, and when clicking on any rival, two lua errors appear.

All other addons disabled.

Please describe how to reproduce it.

  1. Go to Warband Collections.
  2. Click on Rivals tab.
  3. Click on any Rival
  4. See error

Any Screenshots?

Image

Error Logs are Important!

Message: ...nterface/AddOns/PetTracker/addons/journal/record.lua:59: bad argument #1 to 'tonumber' (string expected, got nil)
Time: Sat Mar  8 23:08:53 2025
Count: 1
Stack:
[Interface/AddOns/PetTracker/addons/journal/record.lua]:59: in function 'UnpackDate'
[Interface/AddOns/PetTracker/addons/journal/record.lua]:46: in function 'Unpack'
[Interface/AddOns/PetTracker/addons/journal/record.lua]:16: in function 'Display'
[Interface/AddOns/PetTracker/addons/journal/rivals.lua]:278: in function 'Display'
[Interface/AddOns/PetTracker/addons/journal/rivals.lua]:199: in function 'Update'
[Interface/AddOns/PetTracker/addons/journal/rivals.lua]:110: in function 'SetRival'
[Interface/AddOns/PetTracker/addons/journal/rivals.lua]:94: in function <...nterface/AddOns/PetTracker/addons/journal/rivals.lua:19>
[C]: ?
[C]: in function 'SetShown'
[Interface/AddOns/PetTracker/libs/SecureTabs-2.0/SecureTabs-2.0.lua]:92: in function 'Update'
[Interface/AddOns/PetTracker/libs/SecureTabs-2.0/SecureTabs-2.0.lua]:65: in function 'Select'
[Interface/AddOns/PetTracker/libs/SecureTabs-2.0/SecureTabs-2.0.lua]:43: in function <...ns/PetTracker/libs/SecureTabs-2.0/SecureTabs-2.0.lua:43>

Locals:
self = Button {
 NormalTexture = Texture {
 }
 HighlightTexture = Texture {
 }
 won = false
 Selected = Texture {
 }
 Content = Frame {
 }
}
date = nil
Message: ...nterface/AddOns/PetTracker/addons/journal/record.lua:59: bad argument #1 to 'tonumber' (string expected, got nil)
Time: Sat Mar  8 23:12:31 2025
Count: 2
Stack:
[Interface/AddOns/PetTracker/addons/journal/record.lua]:59: in function 'UnpackDate'
[Interface/AddOns/PetTracker/addons/journal/record.lua]:46: in function 'Unpack'
[Interface/AddOns/PetTracker/addons/journal/record.lua]:16: in function 'Display'
[Interface/AddOns/PetTracker/addons/journal/rivals.lua]:278: in function 'Display'
[Interface/AddOns/PetTracker/addons/journal/rivals.lua]:199: in function 'Update'
[Interface/AddOns/PetTracker/addons/journal/rivals.lua]:110: in function 'SetRival'
[*rivals.xml:5_OnClick]:2: in function <[string "*rivals.xml:5_OnClick"]:1>

Locals:
self = Button {
 NormalTexture = Texture {
 }
 HighlightTexture = Texture {
 }
 won = false
 Selected = Texture {
 }
 Content = Frame {
 }
}
date = nil