Skip Navigation

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 1 reply, has 2 voices.

Last updated by Shekhar Bhandari 4 years, 9 months ago.

Assisted by: Shekhar Bhandari.

Author Posts
February 7, 2020 at 3:38 am

bryanF-6

HP Fatal error: Uncaught Error: Call to a member function get_source_language_code() on bool in .../public_html/wp-content/plugins/wpml-translation-management/inc/functions-load.php:480

February 7, 2020 at 4:55 am
February 11, 2020 at 2:49 am #5465497

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Our 2nd tier debugged the issue and can find out few unwanted entries in the database so can you please follow the below steps:

- Backup your database, DO NOT PROCEED WITHOUT BACKUP.'

- Run the following queries on your database

DELETE FROM `wp_icl_translations` WHERE `element_id` IS NULL

then

DELETE FROM `wp_icl_translations` WHERE `source_language_code` = 'all'

- Then go to WPML->Support->Troubleshooting and click on "Set language information"

Let me know if this helps. If you are not sure how to run the queries, please backup your database and provide me the permissions so I can run those steps on your end.

Thanks