We've just recently updated CK to 7.22, in light of the Drupal core update.
Now Product Reference is logging notices such as this:

Notice: Undefined index: product_display in commerce_product_reference_node_types() (line 1456 of /home/territor/public_html/profiles/commerce_kickstart/modules/contrib/commerce/modules/product_reference/commerce_product_reference.module).

The site is functioning fine otherwise, as far as I can tell.

Looks like there was a similar issue a couple of years ago:
https://www.drupal.org/node/1967262

Any advice appreciated.

Comments

chrismais’s picture

Yep seeing exactly the same.

Front end of the site is functioning fine but Product Display is missing from my Content Types and I'm unable to Add/Edit any products.

Sam Moore’s picture

Now that you mention it, I'm missing Product Display from Content types as well.

simonalwild’s picture

I am also experiencing this problem after updating.

oakulm’s picture

Same here... Only update done is Drupal core to 7.36

harings_rob’s picture

Yup can confirm the issue,

I worked around the error messages by wrapping the line in the error by

if($bundle<>'product_display ') {
          $list[$bundle] = $types[$bundle];
        }

This is not a fix, but gets rid of the errors wich could slow down your drupal installation.

Stephen Ollman’s picture

Same here....I did a D7.36 core update but not the Commerce update....does that make a difference?

Stephen Ollman’s picture

Just read that 7.36 may be the cause....rolling back to 7.35 if I can to test.

Stephen Ollman’s picture

No luck with rolling back to 7.35.....error still occurs.

I've hidden it from the public with:

.not-logged-in .error {display:none;}

Anyone else have any clues?

rszrama’s picture

Category: Bug report » Support request
Status: Active » Needs review

See the known issues section of Drupal 7.36 for notes re: Features defined content types.

https://www.drupal.org/drupal-7.36-release-notes

Stephen Ollman’s picture

Wow, you hit the nail on the head...checked the features and sure enough under 'Commerce Kickstart', Commerce Kickstart Lite Product was disabled. Re-enabling it solved the problem.

chrismais’s picture

Thanks rszrama / Stephen. Solved.

rszrama’s picture

Status: Needs review » Fixed

w00t, great.

sahaj’s picture

I have the same error, using only Commerce and Inline Entity Form (no Kickstart, no Features).

Here is the related issue under Drupal Commerce: https://www.drupal.org/node/2476549 and still don't know how to fix it.

Any hint?

Sam Moore’s picture

Likewise here - re-enabling Commerce Kickstart Lite Product brought back product display.
Thanks folks.

Status: Fixed » Closed (fixed)

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

smndey’s picture

#10 Works for me. Thanks Stephen Ollman