DHL WooCommerce plugins: verschil tussen versies

Uit De Vliegende Brigade
Naar navigatie springen Naar zoeken springen
 
(11 tussenliggende versies door dezelfde gebruiker niet weergegeven)
Regel 1: Regel 1:
''DHL for WooCommerce'' is de officiële DHL-plugin voor WooCommerce.  
+
Around 2020-2023, there were two DHL plugins for WooCommerce. One ok and one not. This is quite confusing. Plus some more stuff.
  
Deze lijkt niet compatibel te zijn met PHP 8. Foutmelding die ik op 22 sep. 2021 kreeg:
+
== 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>
Uncaught Error: Class "DHLPWC_Controller_Isolated_Load_Switcher" not found in dhlpwoocommerce.php
+
wp plugin install dhl-for-woocommerce
 
</code>
 
</code>
  
Dit blijkt de enige plugin te zijn die ik gebruik, die dit probleem heeft. LET OP: De betreffende ontwikkelsite was al een paar weken niet geüpdate, dus het probleem kan geheel door mij veroorzaakt zijn. Het is nu te ingewikkeld om dat te testen
+
== Casus: dhlpwc - Compatiability issue PHP 8? (2021.08) ==
  
== Installatie ==
+
dhlpwc doesn't seem to be compatible with PHP 8. Error from 2021.09.22:
  
 
<code>
 
<code>
wp plugin install dhl-for-woocommerce
+
Uncaught Error: Class "DHLPWC_Controller_Isolated_Load_Switcher" not found in dhlpwoocommerce.php
 
</code>
 
</code>
  
== Inventaris ==
+
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
  
== Plugin verwijderen bij PHP-storing ==
+
=== 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>
  
== Bronnen ==
+
== 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.
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