I have the following errors when ever I navigate to my VisualForce page. I'm wondering if it's indicative of me doing something wrong in my code?
I'm loading a simple constructer in my controller, could this affect the default SF scripts?
public void SessionRegistration () {
If(ApexPages.currentPage().getParameters().get('id') != null)
{
//Get the session
newYas = [SELECT ID, Session__c, Name FROM Youth_Academy_Session__c WHERE ID =: ApexPages.currentPage().getParameters().get('id')];
// If there is an ID do not show the create session panel
showCreateSession = false;
}
else
{
// If No ID show createSession panel
showCreateSession = true;
// Load 10 previous sessions
previousSessionList = [SELECT Name From Youth_Academy_Session__c LIMIT 10];
}
I don't understand why these errors don't show up in my other Visualforce pages, but this one has a whole slew of them. I have full permissions to access the page with my profile, and I am going through a custom visualforce tab.
Edit
The following script seems to be the issue, this is automatically inserted into my visualforce page after compilation:
Does anybody have any ideas?
Version 56.0.2924.87 (64-bit)
however I also receive the errors in Firefox (except the reflected-xss warning)