Jump to content

variable undefined and Use of globals is forbidden issues


Recommended Posts

Are you using a variable within a closure? I had a similar problem with one of my modules while using $this within a closure. The Validator doesn't seem to understand some of the scoping rules.

 

Does your code work, but only show this error? If so, I'd leave it be.

Edited by Apium (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...