Script error on new page

Previewing a page and the Developer Console indicates: “Loading the code for the Forms page. To debug this code, open p4eln.js in Developer Tools.There was an error in your scriptReferenceError: Forms is not defined”

“Forms” is the name of the page (after the "…com/) and I have created a form for the page. Tried renaming the page and it still says forms is undefined so I suspect it has something to do with the form on the page.

Checked developer tools in my browser. Could not find p4eln.js but I don’t know enough about code to even be sure I’m looking in the right place.

I previewed all my other pages and they are fine except for a dynamic page that has the same dataset. The Developer Console states: “Not Found (404) - The requested resource could not be found
no data matched this query: {}, with the pattern: /”

I tried adding that dataset to other pages. They still preview fine. Hope this info helps isolate the issue for a coder out there.

Hi. This is something strange… Can you please share link to your site here so i can check?

The website is YFGinKC.com. I deleted the page that had the error and started over from scratch with a new name for the page (“register” instead of “forms”). I’d add a few elements and preview the page. It was fine for a while and then an error popped up after I had added some input fields for a dataset. I removed the field that immediately preceded the error but the error remained so I continued adding fields to complete the form on the page. The error mentions text that is in a box that had been fine in previous previews. I’ve checked my other pages and they are fine, as are the pages at my RosieFund.org site to which I had also just added a form. The Rosie Fund form is much shorter (3 fields instead of over a dozen), but it has the same functionality.

The YFGinKC.com/register is the page with the error.

This is the latest error:

public/pages/oldt6.js: Unexpected token, expected ; (1:2) > 1 | I understand that the practice of yoga involves movement, stretching, and exercise that may from time to time be extensive and strenuous and that there is consequently some risk of injury. | ^ 2 | 3 | I am aware that any Katherine Roberts’ Yoga For Golfers® (YFG) class/workshop (“class” or “classes”) in which I participate is intended to serve me with knowledge and practice of yoga as adapted for golf fitness. 4 |

Loading the code for the Register page. To debug this code, open oldt6.js in Developer Tools.

There was an error in your script

TypeError: n is not a function

Hi, rosiefund,

Seems like you have all of this text in your code editor:

Just delete it :slight_smile:

Liran.

Thank you!

The error has been narrowed down to just:

Loading the code for the Register page. To debug this code, open oldt6.js in Developer Tools.

Don’t know how to get rid of that. All I see left in the code is:

// For full API documentation, including code examples, visit http://wix.to/94BuAAs
//TODO: write your page related code here…

That’s not an error, just a log :slight_smile: