Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: googletorp commentedPlease provide error log details from your web server (most likely Apache)
Comment #2
ñull CreditAttribution: ñ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/edit
Comment #3
googletorp CreditAttribution: googletorp commentedMoving this bug to where it belongs.
Comment #4
rszrama CreditAttribution: 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 CreditAttribution: 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