PHP Fatal error: Can't use function return value in write context in sites/all/modules/commerce_node_checkout/commerce_node_checkout.module on line 101

Comments

mstef’s picture

Which PHP version?

I'm not getting it with 5.5.3.

I'll adjust anyway, just in case..

  • Commit bb9b1e7 on 7.x-1.x by mstef:
    Fixed potential PHP Fatal error: Can't use function return value in...
mstef’s picture

Assigned: Unassigned » mstef
Status: Active » Fixed
tuccio’s picture

Hello:

PHP Version 5.3.3

tuccio’s picture

However now I am getting (from drush)

File commerce_node_checkout-7.x-1.x-dev.tar.gz_date=1400107427 is corrupt (wrong md5 checksum). [error]
Updating project commerce_node_checkout failed. Attempting to roll back to previously installed version.

tuccio’s picture

Status: Fixed » Needs review
mstef’s picture

Status: Needs review » Fixed

That's a different issue than this. You can open up another one if you want. I just tried downloading via Drush and had no problem.

Status: Fixed » Closed (fixed)

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