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.
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
Comment #1
Simon Georges CreditAttribution: Simon Georges commentedThanks 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.
Comment #2
FiNeX CreditAttribution: FiNeX commentedOk, thanks Simon.