I cant do anything to perchance at the moment, I am wanting to remove and add a few features to the ai girl lab template, but every time it happens I get this error. The funny thing is that the code that it wants you to change or edit doesn’t exist on the HTML code whatsoever. it is so god damn annoying. any fixes?

  • @wthit56
    link
    English
    13 months ago

    What the message means is, that element has an oninput handler applied to it (which can be done in JS, without it being part of the <textarea> code. And when that oninput handler is run, at some point .closest is tried on an object that doesn’t exist. That’s all we know from that.

    What you can do is open up dev tools (ctrl+shift+i). In the console panel you may see an error, which you can click on to see where the error came from in code. Or in the sources panel turn on “pause on caught exceptions,” so it will pause when it hits the error and you can look around at what it’s doing.

    • @BicoloursunguyOP
      link
      English
      13 months ago

      thanks for the comment mate, but I did fix it by removing one of the tags under “imageoptions”. one of the tags didn’t exist anymore so I deleted it and it stopped the error. but thanks for the suggestion! and if you want to tinker with the code here is the link: https://perchance.org/c79r9gwvdi

    • @wthit56
      link
      English
      13 months ago

      Or you could put the link to what you’re working on here, and me or someone else could use those to look at it for you.