9.0 error #108


Open
  • Daeveren created this issue Oct 17, 2020

    Error at login, I think it comes from ClassTimer (using v2.4.90001.1):

     

    Message: Interface\AddOns\Ace3\AceEvent-3.0\AceEvent-3.0.lua:33: Attempt to register unknown event "PLAYER_PET_CHANGED"
    Time: Sat Oct 17 16:04:46 2020
    Count: 1
    Stack: Interface\AddOns\Ace3\AceEvent-3.0\AceEvent-3.0.lua:33: Attempt to register unknown event "PLAYER_PET_CHANGED"
    [string "=(tail call)"]: ?
    [string "=[C]"]: in function `RegisterEvent'
    [string "@Interface\AddOns\Ace3\AceEvent-3.0\AceEvent-3.0.lua"]:33: in function `OnUsed'
    [string "@Interface\AddOns\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua"]:142: in function `RegisterEvent'
    [string "@Interface\AddOns\ClassTimer\ClassTimer.lua"]:342: in function <Interface\AddOns\ClassTimer\ClassTimer.lua:338>
    [string "=[C]"]: ?
    [string "@Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua"]:70: in function <Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:65>
    [string "@Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua"]:527: in function `EnableAddon'
    [string "@Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua"]:630: in function <Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:615>
    
    Locals: <none>

     

  • keith8769 posted a comment Oct 24, 2020

    same error

     

    and when I use classtimer and addonskins, there would be an error like this

    buf if i only use addonskins, there is no error

  • Selthi posted a comment Dec 2, 2020

    Error still there with Version: 2.4.90001.1

     

    Zorcan2112 posted a fix in the comments, which works for me:

    https://www.curseforge.com/wow/addons/classtimer#c1619

    I was getting errors with the Shadowlands Alpha when logging into a character referencing PLAYER_PET_CHANGED. I managed to fix the issue by updating line 342 and 361 of Classtimer.lua

     

    Old:

    Line 342: Self:RegisterEvent('PLAYER_PET_CHANGED')

    Line 361: function ClassTimer:PLAYER_PET_CHANGED()

     

    New:

    Line 342: self:RegisterEvent('UNIT_PET')

    Line 361: function ClassTimer:UNIT_PET()


To post a comment, please login or register a new account.