Notice: Undefined index: plugin in Drupal\commerce_autosku\Form\CommerceAutoSkuForm->buildForm() (line 112 of modules/contrib/commerce_autosku/src/Form/CommerceAutoSkuForm.php).

CommentFileSizeAuthor
#4 2917895_undefined_index_plugin_3.patch1.02 KBlukasss
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

drupalstrap created an issue. See original summary.

pyxio’s picture

Status: Active » Needs review

this notice went away after the first selecting token radio button on the autosku form.

maxplus’s picture

Yes for me the same as drupalstrap:
on first load the error notice and after setting and saving the form "admin/commerce/config/product-variation-types/testtype/auto-sku" the notice is gone

lukasss’s picture

Neded to use empty()

flocondetoile’s picture

Status: Needs review » Reviewed & tested by the community

Patch #4 works fine and fix the issue

flocondetoile’s picture

Title: error notice » error notice : Notice: Undefined index: plugin in Drupal\commerce_autosku\Form\CommerceAutoSkuForm->buildForm()

Improved the title

gge’s picture

Yes, #4 removes the notice. Thanks!

goodDenis’s picture

Patch works for me, thanks!

drupaleze’s picture

#4 solves it. Thanks Lukass

  • bojanz committed 51be697 on 8.x-2.x authored by lukasss
    Issue #2917895 by lukasss, flocondetoile: error notice : Notice:...
bojanz’s picture

Status: Reviewed & tested by the community » Fixed

Committed, thanks.

Status: Fixed » Closed (fixed)

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