Skip Navigation

Tagged: 

This topic contains 0 reply, has 0 voices.

Last updated by cristianP-12 3 months ago.

Assisted by: Shekhar Bhandari.

Author Posts
March 26, 2025 at 4:06 am #16860420

cristianP-12

Background of the issue:
I am trying to fix a fatal error caused by get_source_language_code() being called on a boolean while translating content using WPML. I have identified two potential solutions: adding the missing editor_job_id column to the *_icl_translate_job table, which is not allowed by our DevOps team, and resetting and reconfiguring WPML, which I tested but led to data loss or incorrect language assignments. I am looking for an alternative solution that resolves the error without modifying the database or resetting WPML.

Symptoms:
Fatal error caused by get_source_language_code() being called on a boolean.

Questions:
What alternative solutions are available to resolve the get_source_language_code() fatal error without modifying the database or resetting WPML?