Error: Call to a member function getValue() on null in Drupal\condition_plugins_commerce\Plugin\Condition\OrderHasBaseFieldValue->evaluate()

Comments

facine created an issue. See original summary.

facine’s picture

Status: Active » Needs review
StatusFileSize
new1.89 KB
pcambra’s picture

Status: Needs review » Needs work

That if needs a bit of love, maybe a helper function to get the value, use array_column to get the values or something.

  • facine committed 557e1bf on 8.x-1.x
    Issue #3037254 by facine, pcambra: Error: Call to a member function...
facine’s picture

Status: Needs work » Fixed

Thank you for reviewing. I close this in favor of #3195299: Allow selecting the property key when we will refactoring this functionality.

Status: Fixed » Closed (fixed)

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