On a fresh install of Commerce Kickstart 7.x-2.8, this error is shown when editing a product node.
This product node does not contain a product entity that has a price table field.
Background:
Only for one product type the price table field is setup. When editing a product node of this product type all went well.
However, when editing a product node of a product type that does not contain the price table field, the above error will show and the node cannot be edited (fatal crash).

Comments

pcambra’s picture

Status: Active » Postponed (maintainer needs more info)

Please install commerce devel module and provide at least the trace error that it provides.

joep.hendrix’s picture

There is no error shown unfortunately, it will not get there...
Below the html when navigating to node/x/edit of a non price table product node.


  <div id="branding" class="clearfix">
                <div class="breadcrumb clearfix"><a href="/node">Home</a> <span></span> <a href="/collection/drink">To drink with</a> <span></span> <a href="/drinks/drupal-commerce-wake-you">Drupal Commerce to Wake You Up</a> <span></span> Edit</div>    <h2 class="element-invisible">Primary tabs</h2><ul class="tabs primary"><li><a href="/drinks/drupal-commerce-wake-you">View</a></li>
<li class="active"><a href="/node/19/edit" class="active">Edit<span class="element-invisible">(active tab)</span></a></li>
<li><a href="/node/19/devel">Devel</a></li>
</ul>  </div>

  <div id="page">
          <div class="tabs-secondary clearfix"></div>
    
    <div id="content" class="clearfix">
      <div class="element-invisible"><a id="main-content"></a></div>
                        <br />
<b>Fatal error</b>:  Cannot access empty property in <b>/var/www/website/httpdocs/modules/field/field.attach.inc</b> on line <b>324</b><br />
joep.hendrix’s picture

Status: Postponed (maintainer needs more info) » Active
joep.hendrix’s picture

any news on this issue?

pcambra’s picture

Status: Active » Postponed (maintainer needs more info)

Without an additional trace or a way to reproduce this, I'm afraid there aren't any news on this...

You do get a fatal error, I'd suggest to set your php.ini file to catch those in your dev environment.

joep.hendrix’s picture

Thanks but it is reproducable, this is documented in the issue summary.

Edit: i just did a clean install of drupal-7.23 together with commerce 7.x-1.8 and Commerce price table 7.x-1.1+6-dev. No issues....
So the kickstart setup must be the cause of the issue. Will dig further...

joep.hendrix’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

I cannot reproduce it anymore, so closing.

joep.hendrix’s picture

Issue summary: View changes

typo fixed