Error: Call to a member function isEmpty() on null in QuantityEventSubscriber.php on line 70

Created on 6 April 2023, over 1 year ago
Updated 20 April 2023, over 1 year ago

Problem/Motivation

Darn. I tried to fix a small bug I found while working on other things, but accidentally mixed it up with another change, and ended up creating an even worse bug. :-(

The following error occurs when you try to save a price quantity now:

Error: Call to a member function isEmpty() on null in /opt/drupal/web/modules/farm_ledger/src/EventSubscriber/QuantityEventSubscriber.php on line 70

Steps to reproduce

Save a price quantity with no empty fields.

Proposed resolution

The fix is stupid simple. I will merge and tag 2.0.4 momentarily...

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States m.stenta

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024