Transaction macros causes error

As of late the use of the transaction control macros (sc_begin_trans(), sc_rollback_trans(), sc_commit_trans()) triggers the following error:

Error
Undefined property: form_member_ini::$nm_bases_access
in_array() expects parameter 2 to be array, null given

It doesn’t matter what type of application (well, i tried form and control) or what event you put it in, although it seems to work.

To suppress the error message you have to initialize
$this->Ini->nm_bases_access = array();
in the onScriptInit-event.

If there is something else I am missing, I would be glad to hear.

jsb

Hello,

Issue reported to our bugs team.

regards,
Bernhard Bernsmann

Hello,

Please send me only your application so I can see how you’re doing it.

E-mail: j.lennon@netmake.com.br