Zum Inhalt springen Zur Seitenleiste springen

Schlagwörter: 

Dieses Thema enthält 0, hat 0 Stimmen.

Zuletzt aktualisiert von danielD-143 Vor 6 Monaten.

Assistiert von: Bruno Kos.

Autor Beiträge
Oktober 17, 2025 um 6:28 #17492825

danielD-143

Background of the issue:
I am trying to enable WPML Multilingual & Multicurrency for WooCommerce and the WP Desk Omnibus plugin (versteckter Link). When enabled separately, each plugin works correctly. However, when both are enabled together, the Omnibus plugin returns a fatal error. The problem seems to be with the function $original_id = WCMLfunctionsgetWooCommerceWpml()->products->get_original_product_id( $post->ID ); which returns null even though $post->ID is correct. Currently, WPML Multilingual & Multicurrency for WooCommerce is disabled on production.

Symptoms:
The Omnibus plugin returns a fatal error when enabled with WPML Multilingual & Multicurrency for WooCommerce. The error message is: [17-Oct-2025 04:10:13 UTC] PHP Warning: Attempt to read property "products" on null in plugins/wp-desk-omnibus/src/WPDesk/Omnibus/Core/Admin/PriceTableMetabox.php on line 77 [17-Oct-2025 04:10:13 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_original_product_id() on null in wp-desk-omnibus/src/WPDesk/Omnibus/Core/Admin/PriceTableMetabox.php:77.

Questions:
Why does the Omnibus plugin return a fatal error when enabled with WPML Multilingual & Multicurrency for WooCommerce?
How can I resolve the issue of the function returning null?