How to get rid of this crap ?

I have an Invoice form and used some global variable in the past. I do not need this variable anymore so I removed it.
When I check GlobalVariables it does not show up on the list, and when generating I get no Errors. When I run the App (open the form I get this warrning:

Notice: Undefined index: glo_profileid in C:\Program Files\NetMake\v92\wwwroot\scriptcase\app\TimeManager\fm_inv_header\index.php on line 1833

I lloked up the PHP file but it is so crypting that I really cannot figure out what is going on here. SC generated files are suepr, super cryptic and I have my doubts it is neccessary, but nevertheless I can’t seem to get rid of this reference. This seem to be the same symptom I screamed many times about, which is SC often not refreshing App changes in the IDE.

Any ideas how to fix this ?

Did you try “Project \ Project Search” and search for ‘glo_profileid’ to check if it’s still somewhere unexpected?

robydago - thanks for suggestion. I did that and it shows me this

[ATTACH=JSON]{“data-align”:“none”,“data-size”:“full”,“title”:“2019-01-25 10_34_52-ScriptCase - Development - admin.jpg”,“data-attachmentid”:86274}[/ATTACH]

but this does not help. SC IDE holds sometinh that was deleted and I have no access to it. I have 3 embed points with few lines of code but nowhere this variable is used anymore.

2019-01-25 10_34_52-ScriptCase - Development - admin.jpg

OK, I have rebotted my computer twice, cleanded all browser cache, temp files and removed the files from the project folder. I restarted and regenerated and finally this warning is gone.
As I sated before although there might not be direct bug in SC regarding this type of issues, there is certainly some problem with SC interacting with borwsers. It happes to often that changes in the project are not updated properly. I keep bragging aout investigating this for about 2 years but no one from Netmake seem to care.

Projce search feature would be very helpful if it contain more detailed information (i.e where the file is located -> folder)

I think the issue is in the app link,
in the parameters settings section.
Even if you delete the vars from your code, if you used them as parameters in app links they can remain in that setting and throw errors.
It happened to me and I solved the issue in 2 minutes by editing the app link and removing the reference to the var, but only after spending hours in troubleshooting before finding the culprit…

NO - the issue is in IDE. I just have had another FORM and prewviously some global variable defined in the code. I removed that variable as I imported this App from another project and I did not need it anymore. After removing line of code with the VAR I started getting errors and App Settings show that the variable is still defined in the code (while IT IS NOT).

Same F-crap we deal since almost forver when SC IDE does not update changes in the project. I do not know how SC interacts with the browser but there are some serious problems and for examply in this case I simply cannot run the project anymore because one of the main Apps is not working because of this bug.

In your project search output, it shows that it was still used in the link.
But even if I’m right, I agree that this is an IDE issue as it should at least give a clear error description pointing to that setting.