DHL WooCommerce plugins

Uit De Vliegende Brigade
(Doorverwezen vanaf DHL for WooCommerce-plugin)
Naar navigatie springen Naar zoeken springen
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Around 2020-2023, there were two DHL plugins for WooCommerce. One ok and one not. This is quite confusing. Plus some more stuff.

Inventory of DHL plugins

  • There are two DHL plugins. One good and one wrong. And it's confusing which is which
  • Context: This is concerning a customer that is located in The Netherlands.
The source of a lot of confusion: I understand that something is wrong - But it doesn't state the name of the exact plugin that is the problem (spoiler alert: It's dhl-for-woocommerce

dhl-for-woocommerce - The wrong plugin

  • I call this plugin dhl-for-woocommerce as this is the name of the plugin folder on a site
  • AKA DHL Shipping Germany for WooCommerce
  • WP-CLI: dhl-for-woocommerce
And this is what makes this the wrong plugin (within the given context): Shipping from Benelux, using the DHL Parcel for WooCommerce service, is not supported anymore. The plugin is still fine, but useless
This plugin, at wp_admin » Plugins

How to remove:

wp plugin deactivate dhl-for-woocommerce
wp plugin uninstall dhl-for-woocommerce

dhlpwc - The correct plugin

  • I call this plugin dhlpwc, from the title of the plugin directory
  • Aka DHL for WooCommerce
  • WP-CLI: dhlpwc
Both plugins installed on one site. dhlpwc is on top
Output wp plugin list. dhlpwc is on top

dhlpwc - Installation

wp plugin install dhl-for-woocommerce

Casus: dhlpwc - Compatiability issue PHP 8? (2021.08)

dhlpwc doesn't seem to be compatible with PHP 8. Error from 2021.09.22:

Uncaught Error: Class "DHLPWC_Controller_Isolated_Load_Switcher" not found in dhlpwoocommerce.php

Now in 2023.10, this doesn't seem to be an issue anymore.

Inventory

  • Plugin home page: Qua compatibiliteit met PHP staat er enkel vermeld: PHP Version: 5.6 or higher
  • [1]: In mei 2021 is hier een bugmelding van gemaakt. Deze bug lijkt niet te zijn gesloten

Remove plugin because of PHP error

Site geïnstalleerd op een PHP8-server en nu doet-ie 't niet meer? wp-cli werkt dan ook niet meer. Wat wel werkt:

rm -rf wp-content/plugins/dhl-for-woocommerce/

sources