Verbose errors:

Notice: Undefined index: family_name in Drupal\commerce_pickup\Plugin\Field\FieldFormatter\PickupAddressDefaultFormatter->viewElements() (line 68 of /home/me/public_html/test.me/web/modules/dev/commerce_pickup/src/Plugin/Field/FieldFormatter/PickupAddressDefaultFormatter.php).

Notice: Undefined index: address_line2 in Drupal\commerce_pickup\Plugin\Field\FieldFormatter\PickupAddressDefaultFormatter->viewElements() (line 91 of /home/me/public_html/test.me/web/modules/dev/commerce_pickup/src/Plugin/Field/FieldFormatter/PickupAddressDefaultFormatter.php).
CommentFileSizeAuthor
#2 3285554-2.patch907 bytesdrugan
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:

  • 3285554-notice-undefined-index Comparecompare
  • 1.0.x Comparecompare

Comments

drugan created an issue. See original summary.

drugan’s picture

Status: Active » Needs review
StatusFileSize
new907 bytes

Check for a profile type before formatting it.

  • drugan committed 580d89b on 1.0.x
    Issue #3285554 by drugan: Notice: Undefined index: family_name
    
drugan’s picture

Status: Needs review » Fixed

Fixed.

  • drugan committed c194a01 on 1.0.x
    Issue #3285554 by drugan: Notice: Undefined index: family_name-2
    

Status: Fixed » Closed (fixed)

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