Path

ez.no / exponential / documentation / faq / general / why is my variable undefine...


Q: Why is my variable undefined after I have definitely set its value in an included file? (same for classes and methods)

A:

Check that you have disabled PHP accelerator.
Such strange things may occur due to accelerator's cache problems.

I.e. you update the base class and add a function or similar. Then the derived classes are not updated (since the cache does not know about this).

Back to General