Hi. after enable checkout flow block i get bellow error on site

2016/05/08 07:01:49 [error] 2269#2269: *360 FastCGI sent in stderr: "PHP message: Recoverable fatal error: Argument 1 passed to Drupal\commerce_checkout\CheckoutOrderManager::getCheckoutFlow() must be an instance of Drupal\commerce_order\Entity\OrderInterface, null given, called in /var/www/drupaldemo/modules/commerce/modules/checkout/src/Plugin/Block/CheckoutProgressBlock.php on line 78 and defined in /var/www/drupaldemo/modules/commerce/modules/checkout/src/CheckoutOrderManager.php on line 30" while reading response header from upstream, client: 192.168.2.19, server: drupaldemo.lo, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "drupaldemo.lo"

Comments

arefen created an issue. See original summary.

harings_rob’s picture

Status: Active » Needs review

Alright, I have a proposed fix in https://github.com/drupalcommerce/commerce/pull/379

bojanz’s picture

Title: fatal error after enable checkout flow block » Fatal error when rendering the checkout progress block outside of checkout

Retitling.

  • bojanz committed 61ed1db on 8.x-2.x
    Issue #2721147 by harings_rob, bojanz: Fatal error when rendering the...
bojanz’s picture

Status: Needs review » Fixed

Pushed a fix, thanks guys.

Status: Fixed » Closed (fixed)

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