Function not declared in scope: used to work and now stopped working (?)

@pert
I want to thank you for all the effort you put into investigating issues such as this, and taking the necessary actions to report then via official channels, and in proposing solutions. It is greatly appreciated.