magento2 – New Magento installation shipping error

I have a new installation of magento 2.2.
I only want to sell products online, so I disabled the Dhl, Fedes, Offline Payments, Amazon Payments, Ups, etc. modules, because I do not need them.
I just want to be able to pay with credit card and CoinGate module.

I created some products and wanted to try the process of buying some items.

After adding the product to the cart, I click on Proceed to checkout and then the following exception appears:

1 exception (s):
Exception # 0 (Exception): Warning: array_keys () expects parameter 1 to be an array, given null in /is/htdocs/webroot/vendor/magento/module-shipping/Model/Config.php on line 68

Exception # 0 (Exception): Warning: array_keys () expects parameter 1 to be an array, given null in /is/htdocs/webroot/vendor/magento/module-shipping/Model/Config.php on line 68
# 0 [internal function]: Magento  Framework  App  ErrorHandler-> handler (2, & # 39; array_keys () ex ... & # 39 ;, & # 39; / is / htdocs / ... & # 39 ;, 68, Array )
# 1 /is/htdocs/webroot/vendor/magento/module-shipping/Model/Config.php(68): array_keys (NULL)
# 2 /is/htdocs/webroot/vendor/magento/module-checkout/Block/Checkout/LayoutProcessor.php(196): Magento  Shipping  Model  Config-> getActiveCarriers (& # 39; 1 & # 39;)
# 3 /is/htdocs/webroot/vendor/magento/module-checkout/Block/Checkout/LayoutProcessor.php(168): Magento  Checkout  Block  Checkout  LayoutProcessor-> processShippingChildrenComponents (Array)
# 4 /is/htdocs/webroot/vendor/magento/framework/Interception/Interceptor.php(58): Magento  Checkout  Block  Checkout  LayoutProcessor-> process (Array)

The same error appears in the admin panel, when I click on "Taxes" in Stores> Settings> Sales> Taxes.

Why does this happen and how can I solve it?