Please make sure to update to WPML 4.3.6 and check our list of Known Issues before reporting

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 2 replies, has 2 voices.

Last updated by kristofV-3 1 month, 1 week ago.

Assigned support staff: Yvette.

Author Posts
December 2, 2019 at 3:35 pm #5055231

kristofV-3

With the Woocommerce Multilingual plugin disabled, the woocommerce function get_available_variations() works fine. When enabling the Woocommerce Multilingual plugin, get_available_variations() returns a fatal PHP error.

'Fatal error: Uncaught Error: Call to undefined method WP_Post::get_id()'

Yes, all WPML versions are up to date.

Is this a known issue?

December 4, 2019 at 12:13 pm #5068169

Yvette
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hello

I looked through our internal issues database and I did not find anything related to this.

Is this something that you could easily replicate in a sandbox site pre-configured with WPML and Woocommerce?

If so, then I can provide access to the sandbox site and would ask you to please replicate the issue so that I can escalate this to our 2nd tier/developers team for feedback.

Normally, our plugins should not interfere with any STANDARD WordPress or Woocommerce functionality.

December 9, 2019 at 8:00 am #5090481

kristofV-3

My issue is resolved now. Thank you!