Problem/Motivation

"TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in implode() (line 65 of modules/contrib/salesforce/modules/salesforce_logger/src/Form/SettingsForm.php)."

type error

Steps to reproduce

  • you should have a current site with old code version where log_push_params_sanitized_fields is a string
  • then update to the 5.1.x-dev and go to settings form for salesforce_logger (/admin/config/salesforce/logger)
  • see the error above

Proposed resolution

It works when transform data type to array, like in the issue https://www.drupal.org/project/salesforce/issues/3460395.

Issue fork salesforce-3583541

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

dishvola created an issue. See original summary.

aaronbauman’s picture

Status: Active » Fixed

LGTM, merged. Thanks for the patch.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.