Closed (duplicate)
Project:
Commerce Flat Rate
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Dec 2011 at 21:33 UTC
Updated:
14 Dec 2011 at 04:37 UTC
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
Comment #1
googletorp commentedPlease provide error log details from your web server (most likely Apache)
Comment #2
ñull commentedaccess_log:
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/editComment #3
googletorp commentedMoving this bug to where it belongs.
Comment #4
rszrama commentedI 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:
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.
Comment #5
rszrama commentedActually, this is a duplicate of an issue that already has a patch: #1349020: PHP Fatal error: Cannot unset string offsets in /includes/commerce_flat_rate/includes/commerce_flat_rate.admin.inc on line 214