PricingBlog

App suddenly broken, Spark Core buttons no longer respond

  • .targox-1520061262841643018

    Targox

    1 day ago

    Didn't push an update on my app in over a months, suddenly my consolelog is full of errors and none of the spark core buttons seem to work??
    1520061263269331144-Screenshot_2026-06-26_at_15.38.02.jpg
    1
  • Works inside editor, not when loaded with direct url
  • erikbeus-1520063786210558092

    Erik Beuschau

    1 day ago

    It looks like you're on a dev branch. Are buttons also not working in production (main) branch?
    The error indicates that you might be trying to work with a date that receives an invalid timestamp. Any chance you're providing the timestamp as a string rather than a number?
  • .targox-1520068123846246630

    Targox

    1 day ago

    dev and main are both not working (bug report came in from client himself)
  • 0 issues in Nordcraft Issues panel, I'll check what that is. But not sure how that would affect the Spark core buttons. Which do work in the editor
  • .targox-1520083572453670912

    Targox

    1 day ago

    Anyone? Admin panel is unusable for my client atm
  • erikbeus-1520084995400536186

    Erik Beuschau

    1 day ago

    I’m quite sure it’s a data issue from an API or similar on your side. Have you investigated that?
    The last change/release from our side was on Monday and shouldn’t have affected anything in the runtime. And spark core would only change behavior if you upgraded that package in your project.
  • .targox-1520088391234883716

    Targox

    1 day ago

    Thanks for the help Erik. I stripped an sc-button from all events and it gave me 285 errors (as expected now). after deleting the sc-button it went to 113. so isn't this a sparkcore problem? Package updates don't appear in version control I suppose? Not sure if I clicked it at some point when visiting the project. Anyway, I'll keep digging.
  • erikbeus-1520089411511910650

    Erik Beuschau

    1 day ago

    It might indicate that you’re providing the sc-button with an invalid attribute?
    Package updates can be rolled back with regular commits. You could try previewing a previous commit (in the history tab) and see if that reduces the amount of errors (at least in the editor)
  • .targox-1520091559901532210

    Targox

    1 day ago

    Did a roll back to 2 months ago where everything was 100% still working and it's still the same. working in editor, not directly in browser. not sure what to make of this
  • Tod-1520091561696694383

    Tod

    1 day ago

    Great job @Targox! Your contribution to the Nordcraft Community just made you advance to Community Level 6! 🌲
  • erikbeus-1520092426432151576

    Erik Beuschau

    1 day ago

    Did you check if anything changed from a data/API perspective?
    If you could invite me to your project and send me instructions on how to reproduce the error, I might be able to pinpoint the issue 🙏
    Username god_of_code
  • erikbeus-1520092989622452316

    Erik Beuschau

    1 day ago

    I’m now in your org. Could you also invite me to the project?
  • .targox-1520093210121207879

    Targox

    1 day ago

    Done!
  • Going to send you some extra stuff in PM
    🙌1
  • erikbeus-1520134768350724336

    Erik Beuschau

    1 day ago

    For anyone else: I've deployed a temporary fix that has solved the issue for now. I'll find the proper fix on Monday 🤞
    🙌1