[Mon Sep 29 12:37:44 2014] [error] [client xxxxxxxxxxxx] PHP Fatal error: Can't use function return value in write context in /var/www/site/sites/all/modules/2235791/commerce_shipping_cd.module on line 198.
This is the error i get after using the last changes you made, just reporting the issue!
Best Regards!
Comments
Comment #1
badzpeed commentedComment #2
kaido.toomingas commentedHey how could I reproduce this? Please provide some steps.
Comment #3
badzpeed commentedI was using your module at the commit 3a3e6a3 on 7.x-1.x but there was a problem when a flat rate was empty it would throw one entity malfunction, then i saw the latest commit you made and i used it as a patch
The steps i took were just use this patch and upload it to my site, then it stopped working every time i tried to checkout a product. Drupal just crashes and apache error log shows the error above. Could the problem originate from my side ?
Comment #4
kaido.toomingas commentedYeah I noticed the problem allready there's function call inside emty()... Will fix it for the release and for you I can say the fix would be.
$service_details = variable_get($key . '_details_form');
if ($field != $fields[$service] && !empty($service_details)) {
Comment #5
kaido.toomingas commentedComment #6
Chithra K commentedstill getting the error
Fatal error: Can't use function return value in write context in /.. /sites/all/modules/contrib/commerce_shipping_cd/commerce_shipping_cd.module on line 198
while trying to enable this module for the first time.