Well, without knowing either the code or the error message, I don't know how any of us can help, and yes, I understand you may not be able to post the code, but at least the error message.
I haven't posted or read the forum directly in years. Once the option was added to opt for email delivery of forum posts, I've done everything by email. Maybe you can post the code you want to post by email? I forget how to go into settings in the forum, but I think one of them is email or not.
Ernst & I and others have posted JavaScript code for years, but I my case, most of it was by email.