Bad server response: when accessing leads

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ruslan
    Senior Member
    • Aug 2014
    • 102

    Bad server response: when accessing leads

    Hi,
    in the console i have this error:
    <b>Fatal error</b>: Redefinition of parameter $data in <b>/home/public_html/crm/application/Espo/Modules/Crm/Services/Lead.php</b> on line <b>66</b><br />

    i have installed clean 4.02

    what to do to fix this?

    Thanks
  • yuri
    Member
    • Mar 2014
    • 8556

    #2
    Hi

    Change the line to
    public function afterCreate($entity, array $data = array())
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • Ruslan
      Senior Member
      • Aug 2014
      • 102

      #3
      Thanks

      Comment

      Working...