When I try to convert a lead, I get an error. I've done some mild configuration on the Contact entity (just a few custom fields). I believe the others are out of the box. I tried a few different variations of conversion (contact only, contact + opportunity, etc...) No matter what, I get an error.
I checked the log and this is the message I get:
[2020-05-14 04:45:24] Espo.ERROR: Uncaught Exception TypeError: "Argument 2 passed to Espo\Modules\Crm\Services\Lead::convert() must be an instance of Espo\Modules\Crm\Services\object, instance of stdClass given, called in /home3/alldone/public_html/crm/application/Espo/Modules/Crm/Controllers/Lead.php on line 50" at /home3/alldone/public_html/crm/application/Espo/Modules/Crm/Services/Lead.php line 186 {"exception":"[object] (TypeError(code: 0): Argument 2 passed to Espo\\Modules\\Crm\\Services\\Lead::convert() must be an instance of Espo\\Modules\\Crm\\Services\\object, instance of stdClass given, called in /home3/alldone/public_html/crm/application/Espo/Modules/Crm/Controllers/Lead.php on line 50 at /home3/alldone/public_html/crm/application/Espo/Modules/Crm/Services/Lead.php:186)"} []
Any help would be very much appreciated!
I checked the log and this is the message I get:
[2020-05-14 04:45:24] Espo.ERROR: Uncaught Exception TypeError: "Argument 2 passed to Espo\Modules\Crm\Services\Lead::convert() must be an instance of Espo\Modules\Crm\Services\object, instance of stdClass given, called in /home3/alldone/public_html/crm/application/Espo/Modules/Crm/Controllers/Lead.php on line 50" at /home3/alldone/public_html/crm/application/Espo/Modules/Crm/Services/Lead.php line 186 {"exception":"[object] (TypeError(code: 0): Argument 2 passed to Espo\\Modules\\Crm\\Services\\Lead::convert() must be an instance of Espo\\Modules\\Crm\\Services\\object, instance of stdClass given, called in /home3/alldone/public_html/crm/application/Espo/Modules/Crm/Controllers/Lead.php on line 50 at /home3/alldone/public_html/crm/application/Espo/Modules/Crm/Services/Lead.php:186)"} []
Any help would be very much appreciated!
Comment