1202 Access of undefined property _ in package _.

You are attempting to access an undefined variable in a package. For example, if the variable p.huh has not been defined, a call to it generates this error:

p.huh = 55;

This error can only appear when the compiler is running in strict mode.

2 thoughts on “1202 Access of undefined property _ in package _.

  1. … or look to your package name. It may be that your package name conflicts with some other package that’s either a built-in or otherwise. In my case I had a package “actor”. A class inside that package defined a public function, but I kept getting this error. Changing the package name arbitrarily (eg: “actorx”) suddenly made the problem disappear.

    Like

Leave a comment