Similar bug to #3535282: SplObjectStorage::contains(): Argument #1 ($object) must be of type object, null given in \Drupal\commerce_store\CurrentStore, which assumes a request is never null.

Issue fork commerce-3535303

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

aaronbauman created an issue. See original summary.

aaronbauman’s picture

Status: Active » Needs review
StatusFileSize
new735 bytes

Here's the patch.

aaronbauman’s picture

Opened MR 468 with patch from #2

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

  • aaronbauman committed dc753ba3 on 3.x
    Issue #3535303 by aaronbauman: SplObjectStorage::contains(): Argument #1...
jsacksick’s picture

Status: Needs review » Fixed

huh! I thought we had this code in place already, but turns out we did this for the CurrentLocale service in #3395298: SplObjectStorage::contains(): Argument #1 ($object) must be of type object, null given.

Status: Fixed » Closed (fixed)

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