I don't understand this error message:undefined method stdClass::AddAction()
Hello All!
Sometimes, when I create new functions in an allready sophisticated php file, calling that new function, which is similary to the other allready existing there, so nothing new, calling it from the Form_Create basic function, I receive the following error:
Fatal error: Call to undefined method stdClass::AddAction() in C:\Program Files\wamp\www\cardemoworld\modelpage.php on line 4798
Simply, I cannot understand why it became undefined the StdClass.
If I do not invoke that function, everything goes well.
Please advice me, what am I doing wrong?
Thank You,
Sanyi.

Hello Sanyi,
Can you give an example? I guess it is the way how you call the method which is the problem.
Cheers
Helge
You're most likely calling AddAction() on an object that does not support it. Take a look at your "$obj = new Blah()" call that instantiates the object you're trying to add an action to. Make sure that Blah is a QControl :)
It surely is a QControl, so it is probably the calling incorrect, but I do not see why.
For the moment I solved the problem avoiding the AddAction, but as soon as I will have some time for it I will be back with code and info.
Thank You for Your time and help.
Sanyi.