AnsweredAssumed Answered

before save logic hooks gives 500 error

Question asked by sidhu sidhu on Apr 28, 2016
Latest reply on May 4, 2016 by Rodolfo Jesus

Hi All


          I have recently upgraded to sugarcrm 7.I have commented out few logichooksin

custom/modules/Contacts/logic_hooks.php and uncommented them after upgrading to sugarcrm 7.

But as i uncomment and save my contact i get 500 errror.Can any one please help me to get out of this.




$hook_array['before_save'][] = Array(

        1,       'Test Logic hook',  'custom/modules/Contacts/test.php','test','Test');//as soon as i uncomment and save contact after repair  i get 500 error





class test


function Test()









Prashant Patel Bhavesh Patel Shijin Krishna