Hi, sometimes a function in the backend script is not called from the frontend.
Sometimes it works, sometimes it doesn't.
I can't seem to figure out the cause of this issue, since "console.log" is written as the first line of the function. Since it is not printed sometimes, I believe it has not been called? Also, since it is the first function being called from the frontend, I don't think there is anything that has prevented it from being called?