Skip to content

fix: Crash on lead capture submission.

Fox Piacenti requested to merge fox/lead-capture-fix into main

This MR fixes a PHP8 compatibility bug that prevents web form capture from working. With this fix, the 'Contact Us' form is able to populate our CRM with new leads automatically, whereas they previously had to be added by hand.

JIRA tickets: https://tasks.opencraft.com/browse/STAR-3547

Testing instructions:

  1. Log in to the GitLab registry (registry.gitlab.com)
  2. Build the container and push it (registry.gitlab.com/opencraft/dev/suitecrm-custom)
  3. Roll the deployment for SuiteCRM forward in the stage or production infra environ (kubectl rollout restart deployment/suitecrm -n suitecrm)
  4. Try submitting a new lead in the Contact Us form on https://opencraft.com/
  5. Log into the CRM and Verify that the new Lead shows up in the CRM under the 'All->Leads'

Merge request reports