Hi! If you disable commerce_tax without disabling commerce_flat_rate first, the entire site will return a WSOD because commerce_flat_rate uses commerce_tax_rate_load() without checking if the commerce_tax exists. A solution could be to add commerce_tax as a required module or at least an "if module exists" could be used.

Thanks.

Comments

Simon Georges’s picture

Status: Active » Closed (duplicate)

Thanks for taking the time to report this issue.

However, I am marking this as a duplicate of #1587126: Commerce Tax should be a dependency of Commerce Flat Rate. You can follow up on that issue to track its status instead. If any information from this issue is missing in the other issue, please make sure you provide it over there.

FiNeX’s picture

Ok, thanks Simon.