DHL WooCommerce plugins: verschil tussen versies
Naar navigatie springen
Naar zoeken springen
(11 tussenliggende versies door dezelfde gebruiker niet weergegeven) | |||
Regel 1: | Regel 1: | ||
− | + | 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. | ||
+ | |||
+ | {| | ||
+ | |[[file:20231025-1653.png|thumb|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 <code>dhl-for-woocommerce</code>]] | ||
+ | |} | ||
+ | |||
+ | === dhl-for-woocommerce - The wrong plugin === | ||
+ | |||
+ | * I call this plugin <code>dhl-for-woocommerce</code> as this is the name of the plugin folder on a site | ||
+ | * AKA ''DHL Shipping Germany for WooCommerce'' | ||
+ | * WP-CLI: <code>dhl-for-woocommerce</code> | ||
+ | |||
+ | {| | ||
+ | |[[file:20231025-1650.png|thumb|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]] | ||
+ | |[[file:20231025-1651.png|thumb|This plugin, at <code>wp_admin » Plugins</code>]] | ||
+ | |} | ||
+ | |||
+ | How to remove: | ||
+ | |||
+ | <pre> | ||
+ | wp plugin deactivate dhl-for-woocommerce | ||
+ | wp plugin uninstall dhl-for-woocommerce | ||
+ | </pre> | ||
+ | |||
+ | === dhlpwc - The correct plugin === | ||
+ | |||
+ | * I call this plugin <code>dhlpwc</code>, from the title of the plugin directory | ||
+ | * Aka ''DHL for WooCommerce'' | ||
+ | * WP-CLI: <code>dhlpwc</code> | ||
+ | |||
+ | {| | ||
+ | |[[file:20231025-1704.png|thumb|Both plugins installed on one site. ''dhlpwc'' is on top]] | ||
+ | |[[file:20231025-1705.png|thumb|Output <code>wp plugin list</code>. ''dhlpwc'' is on top]] | ||
+ | |} | ||
+ | |||
+ | == dhlpwc - Installation == | ||
<code> | <code> | ||
− | + | wp plugin install dhl-for-woocommerce | |
</code> | </code> | ||
− | + | == Casus: dhlpwc - Compatiability issue PHP 8? (2021.08) == | |
− | + | dhlpwc doesn't seem to be compatible with PHP 8. Error from 2021.09.22: | |
<code> | <code> | ||
− | + | Uncaught Error: Class "DHLPWC_Controller_Isolated_Load_Switcher" not found in dhlpwoocommerce.php | |
</code> | </code> | ||
− | == | + | Now in 2023.10, this doesn't seem to be an issue anymore. |
+ | |||
+ | === Inventory === | ||
* [https://wordpress.org/plugins/dhl-for-woocommerce/ Plugin home page]: Qua compatibiliteit met PHP staat er enkel vermeld: ''PHP Version: 5.6 or higher'' | * [https://wordpress.org/plugins/dhl-for-woocommerce/ Plugin home page]: Qua compatibiliteit met PHP staat er enkel vermeld: ''PHP Version: 5.6 or higher'' | ||
* [https://wordpress.org/support/topic/fatal-error-with-php-8-3/]: In mei 2021 is hier een bugmelding van gemaakt. Deze bug lijkt niet te zijn gesloten | * [https://wordpress.org/support/topic/fatal-error-with-php-8-3/]: 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? <code>wp-cli</code> werkt dan ook niet meer. Wat wel werkt: | Site geïnstalleerd op een PHP8-server en nu doet-ie 't niet meer? <code>wp-cli</code> werkt dan ook niet meer. Wat wel werkt: | ||
Regel 28: | Regel 68: | ||
</code> | </code> | ||
− | == | + | == sources == |
* https://www.google.com/search?q=Uncaught+Error%3A+Class+%22DHLPWC_Controller_Isolated_Load_Switcher%22+not+found+in+dhlpwoocommerce.php | * https://www.google.com/search?q=Uncaught+Error%3A+Class+%22DHLPWC_Controller_Isolated_Load_Switcher%22+not+found+in+dhlpwoocommerce.php |
Huidige versie van 25 okt 2023 om 17:12
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.
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
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
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
- https://www.google.com/search?q=Uncaught+Error%3A+Class+%22DHLPWC_Controller_Isolated_Load_Switcher%22+not+found+in+dhlpwoocommerce.php
- https://wordpress.org/plugins/dhl-for-woocommerce/ - Home page van deze plugin
- https://wordpress.org/support/plugin/dhl-for-woocommerce/
- https://wordpress.org/search/php+8+intext%3A%22Plugin%3A+DHL+for+WooCommerce%22
- https://wordpress.org/support/topic/fatal-error-with-php-8-3 -
- https://wordpress.org/support/topic/not-compatible-with-php-8-x - De OP heeft zelf de verwijzing aangepast naar een andere bibliotheek - Indrukwekkend