strange bug, css files gets included in a form without ever being called

Hi, since yesterday the main form of my project had various issue.

The first one, was that out of nowhere, in the Global Variables menu of my form, 3 new variable have appeared.

Those variables, by their name, I recognized them to be used in another application, a blank one, but they are never called/used in my Form, and you can even see, by their location (on Global Variables, next to the name of the variable, you see the location where it’s called), in this case, those 3 new variables that appeared were called from OnExecute!
But the Form has no onExecute event!! So of course they were coming from my blank app onExecute event, but this doesn’t make any sense.

Then another issue was that I use an external css file on my Blank application, and somehow, on my Form, besides the 3 global variable that appeared, now also that CSS file started to getting included!! and it’s not declared anywhere in my form application!!

This was a problem as that css had many global rules that override my Form css!

I found in the source code of my form where the CSS gets included, and it’s in these 2 php files:

appName_mob_form0.php
appName_form0.php

But even if I remove those lines from here, on the next generate they get included again!!

I had a backup from 24hours earlier, but the backup only fixed the global variable issue, the CSS file still gets loaded on my form for no reason!

Any idea what to do?

It sounds to me like the application is corrupt. This happens a lot unfortunately. In my experience, you will need to make a new application and copy over all the settings from the existing corrupt one. Yep it takes time and its annoying but that’s SC. Believe me, doing this is often quicker than spending hours trying to figure out how to fix the corrupt application.

Rob