The beginning of my function is as follows: Func isCorrectAccount($goBack = True) If $goBack = True Or $goBack = 1 Then popups() Else popups("Headers\Page.bmp") EndIf .... This triggers the following error: I have tried various things, such as: making the parameter mandatory changing the parameter default assigning the paramter immediately ($goBack = 1) at the beginning of the function Nothing seems to remove this error, which makes no sense from what I can see