Problem

I have Fatal error with this module.
PHP Fatal error: Call to undefined function commerce_cart_order_is_cart() in [path_to_module]/inline_entity_form/includes/commerce_line_item.inline_entity_form.inc on line 106

Practical situation

I use commerce for backend only without cart etc, frontend is Flash application, so I do not use "commerce_cart" module.
This error appears on page "admin/commerce/orders/%commerce_order/edit" when i try to edit line items.

Proposed resolution

In first comment I will attach fix patch.

CommentFileSizeAuthor
#1 inline_entity_form-2108661-1.patch961 byteskalistos
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kalistos’s picture

Status: Active » Needs review
FileSize
961 bytes

Fix patch.

kalistos’s picture

Issue summary: View changes

Fix Description.

bojanz’s picture

Issue summary: View changes
Status: Needs review » Fixed

Actually, the first module_exists is wrong.
Committed a fix: http://drupalcode.org/project/inline_entity_form.git/commitdiff/fc71495?...

Status: Fixed » Closed (fixed)

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