Testing ClassicPress v2 + WooCommerce

Started testing current WooCommerce versions with the latest v2 nightly build (2023-09-23), using the following setup:

  • shared hosting (all-inkl.com)
  • PHP 8.0 + MariaDB (latest) + Apache httpd (latest)
  • WP_DEBUG enabled (for initial tests)
  • WP Rollback

Test started with the current WC version and working backwards.

One result: The WP blocks compatiblity class / helper needs additional functions / methods, including WC_Blocks_Utils::has_block_in_page, because WC is using it for the REST API.
This happens when accessing the WooCommerce ‘status’ page in the admin area.

Another one being: Frontend works flawlessly.

In the admin area, the WooCommerce “home” page is broken, aka displays just the admin area with everything around, but no content. The settings page works, too.

Starting from v6.9 and below, there were additional errors, probably related to PHP 8.x, which escalates all errors one level further, so a Notice turns into a Warning, and Warning turns into Fatal Errror (or sometimes Deprecated, if one is lucky).

Tested versions so far:

  • 8.1.1
  • 8.0.3
  • 7.9
  • 7.6.1
  • 7.2.3
  • 6.9.4
  • 6.7
  • 6.6.1

cu, w0lf.

OT: Findings while reading the WC changelog:

  • 6.3 - Added German state names

Probably one of the most nonsense “features”, as German “states” (which arent, technically speaking, ‘states’, but ‘Bundesländer’, which is not the same) have absolutely no relevancy for both the order process and the taxation (VAT). German postal addresses do not include the Bundesland, because its not part of the official address. You may add it, but it doesnt help anything. Also, there are no differing VAT per Bundesland - the VAT is applied nationwide.

Where the Bundesland would be relevant is eg. in wage payment, or health insurance, where depending on the Bundesland you live in, there may be slight changes in taxation and how much of your wage is being taken away for health insurance (sth in the lower single percent range). Which I dont see has any relevancy or connection with an online e-commerce solution aka web shop.

I guess this is just another part of Feature Creep.

cu, w0lf.

Further findings:

  • 6.6.1 - same, but disabled WP_DEBUG (commented out)
  • 6.3.1 - dito
  • 6.1.2 - dito
  • 6.0 - dito
  • 5.9.1 - dito
  • 5.8 - dito
  • 5.6.1 - dito
  • 5.3.3 - dito
  • 4.9.5 - admin > woocommerce > home is completely broken (completely blank page / WSOD ), but the ‘status’ page works again

This is in WC. I don’t think we should include it in the core. But a compatibility plugin could make sense. Maybe a way to fix broken home page, too.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.