PHP Fatal Error after saving Account


I’m having this problem and ends in Error 500:

Using version 7.10.7.

[Fri Mar 20 01:57:58.821240 2020] [:error] [pid 22779] [client MYIP:47414] 
PHP Fatal error:  Uncaught Error: Cannot access empty property in 
Stack trace:
#0 /var/www/vhosts/ AOW_WorkFlow->check_valid_bean(Object(Account))
#1 /var/www/vhosts/ AOW_WorkFlow->run_bean_flows(Object(Account), 'after_save', '')
#2 /var/www/vhosts/ LogicHook->process_hooks(Array, 'after_save', '')
#3 /var/www/vhosts/ LogicHook->call_custom_logic('Accounts', 'after_save', '')
#4 /var/www/vhosts/ SugarBean->call_custom_logic('after_save', '')
#5 /var/www/vhosts/ SugarBean->save(false)
#6 /var/www/vhosts/ in /var/www/vhosts/ on line 647, referer:

Everything was working ok. I don’t remember if i deleted some fields. I already did a Repair & Rebuild.

What could it be? How can I solve it?

Hope you can help me!


That error is coming from an after_save logic hook that you have on the Accounts module. Check the code in that hook.

Thanks, I removed it, and then a Repair & Rebuild. and the error keeps.

Thanks for your help! It was a Workflow, that when it was saved some fields where blank.

1 Like