Closed (duplicate)
Project:
Commerce Shipping
Version:
7.x-2.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Mar 2012 at 13:17 UTC
Updated:
25 Mar 2012 at 15:17 UTC
I've disabled all shipping method modules (example shipping, flat rate), and on the services page, the following error is thrown:
Warning: htmlspecialchars() expects parameter 1 to be string, array given in check_plain() (line 1572 of /Users/daften/Sites/wolster/includes/bootstrap.inc).
I believe this to be because in commerce_shipping_ui_overview(...) the output from commerce_shipping_method_get_title(...) is used directly as input to the t() function. When no methods/services are defined, it returns an empty array...
Comments
Comment #1
daften commentedduplicate of #1443434: Error when no shipping method enabled