No announcement yet.

Compiler error associated (apparently) with calls to sc_commit_trans()

  • Filter
  • Time
  • Show
Clear All
new posts

  • Compiler error associated (apparently) with calls to sc_commit_trans()

    Am receiving the following error:
    "Invalid argument supplied for foreach() | Script: C:\Program Files (x86)\NetMake\v8\wwwroot\scriptcase\devel\class\ge nerator\nmFontePHPForm.class.php linha: 12764"
    This has appeared since upgrading to version 8.00.0030.

    Prior to upgrading to this version:
    I had been trying to add calls to sc_commit_trans in form events that were making calls sc_redir.
    In the main project we have multiple connections. I would get errors like:
    "You are using transaction macros with a connection that is not transactional"
    When I could not get that to work I tried a simpler project with just a single connection. That did work.

    But now neither the main project nor the simpler project work. I receive the compiler error listed above.

    The code for the single connection project in onAfterDelete is just:


    Any help with this issue would be greatly appreciated.
    Last edited by dczanik; 02-06-2015, 05:02 PM.