Problem/Motivation

Drupal\Core\Database\Query\Merge::key() is called with an array of keys. That method in Core throws a fatal error if its not a string:

public function key($field, $value = NULL) {
  assert(is_string($field));
  $this->keys([$field => $value]);
  return $this;
}

Steps to reproduce

Check PushQueue code

Proposed resolution

Call Drupal\Core\Database\Query\Merge::keys() instead which accepts array of keys

Remaining tasks

MR

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Issue fork salesforce-3512519

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

scott_euser created an issue. See original summary.

scott_euser’s picture

Status: Active » Needs review

aaronbauman made their first commit to this issue’s fork.

aaronbauman’s picture

Status: Needs review » Fixed

Merged, thanks

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.