I am at admin/commerce/config/shipping/services/my-service/edit and when I save my changes I get the WSoD and the changes are not saved.

Comments

googletorp’s picture

Status: Active » Postponed (maintainer needs more info)

Please provide error log details from your web server (most likely Apache)

ñull’s picture

access_log:

10.0.0.100 - - [12/Dec/2011:16:56:18 +0100] "POST /en/admin/commerce/config/shipping/services/flat-rate-es-60/edit HTTP/1.1" 500 - "http://mydomain.com/en/admin/commerce/config/shipping/services/flat-rate-es-60/edit" "Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0"

error_log:
[Mon Dec 12 16:56:18 2011] [error] [client 10.0.0.100] PHP Fatal error: Cannot unset string offsets in /srv/www/htdocs/c2/mydomain/sites/all/modules/commerce_flat_rate/includes/commerce_flat_rate.admin.inc on line 214, referer: http://mydomain.com/en/admin/commerce/config/shipping/services/flat-rate-es-60/edit

googletorp’s picture

Project: Commerce Shipping » Commerce Flat Rate
Version: 7.x-2.x-dev » 7.x-1.x-dev
Status: Postponed (maintainer needs more info) » Active

Moving this bug to where it belongs.

rszrama’s picture

I can't reproduce the error either on the flat rate edit form or add form. That line in the current version of the module is:

unset($shipping_service['data']['include_tax']);

Is this the line you have, and can you perhaps dump out the contents of the $shipping_service variable so I can see what's going on. I don't know what could be causing the error notice you're getting at this point.

rszrama’s picture

Status: Active » Closed (duplicate)