Error navigating to page
I am having a problem navigating to a page. I have a button set up to navigate to another page and when I click the button, it just loads and doesn't navigate to the page. However, when I set the desired page to the default loading screen it loads without problem. I have tried deleting the page, button, and navigation and recreating them but each time I get the same error. On the inspect element, the error is displayed as "undefined token" and in the code "throw e;" is tagged as the place of the error. How can I fix this so that my page navigates correctly? Because I can't change much in the app and need to leave it the way it is.