AnsweredAssumed Answered

Logic hook example from Sugar_Developer_Guide_7.1

Question asked by community-support on Jan 13, 2014
Latest reply on Jan 13, 2014 by community-support
Failed to deploy the logic hook on the Leads module via Module Loader using the exact (actual) example from .

When creating a Lead with version 7.x, after Save click:

   Error There was an error while connecting to the server. Please try again. X

The Lead is created just fine... Reviewing the php error log related to this issue shows:

'PHP Catchable fatal error: Object of class Lead could not be converted to string in .../ on line  ...


(from paperless)