Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Questions related to using nuBuilder Forte.
shuray
Posts: 30 Joined: Sun Apr 23, 2023 3:36 pm
Has thanked: 10 times
Been thanked: 5 times
Unread post
by shuray » Mon Oct 23, 2023 8:29 pm
Hi!
I found that it is impossible to call nuRunProcedure() from Before Save PHP event. Is it a bug or some feature?
Code: Select all
/var/www/html/core/nucommon.php(1406) : eval()'d code
Call to undefined function nuRunProcedure()
Thank you
kev1n
nuBuilder Team
Posts: 4292 Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:
Unread post
by kev1n » Tue Oct 24, 2023 12:10 am
Hi,
Does it work if you call it in the AS event?
shuray
Posts: 30 Joined: Sun Apr 23, 2023 3:36 pm
Has thanked: 10 times
Been thanked: 5 times
Unread post
by shuray » Tue Oct 24, 2023 7:41 am
kev1n wrote: ↑ Tue Oct 24, 2023 12:10 am
Does it work if you call it in the AS event?
No, does not. Cannot be called from any PHP form event
kev1n
nuBuilder Team
Posts: 4292 Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:
Unread post
by kev1n » Tue Oct 24, 2023 8:50 am
You could replace nucommon.php from Github with your local one.