.loadPage() getting floats despite passing whole numbers as its parameters: "currentPage method cannot be set to the value 1.75"

I noticed that you have a number of errors in your code. For example:

The WixDataSort API does not have the orderBy property. See the WixDataSort API for details. You’ll need to fix these errors, as well as the errors in the other files and pages. Some of the errors occur in the Public code files since the $w namespace is not accessible from these files. You’ll have to reorganize your code to adjust for this.