Skip Navigation

[Resolved] Fatal Error after updating WPML

This support ticket is created 6 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by sshearer 6 years, 7 months ago.

Assisted by: Minesh.

Author
Posts
#911502

Hi, I want to confirm there is any update or not.

By the way, I updated WPML to the latest version few days ago, and Translation Basket started to show the error message below.

Fatal error: Uncaught TypeError: Argument 1 passed to Types_Post_Builder::set_wp_post() must be an instance of WP_Post, null given, called in /var/www/html/SITE_NAME/wp-content/plugins/types/application/models/field/group/repeatable/wpml/translation_job_data.php on line 52 and defined in /var/www/html/SITE_NAME/wp-content/plugins/types/application/models/post/builder.php:19 Stack trace: #0 /var/www/html/SITE_NAME/wp-content/plugins/types/application/models/field/group/repeatable/wpml/translation_job_data.php(52): Types_Post_Builder->set_wp_post(NULL) #1 /var/www/html/SITE_NAME/wp-content/plugins/types/application/controllers/m2m.php(108): Types_Field_Group_Repeatable_Wpml_Translation_Job_Data->wpml_tm_translation_job_data(Array, NULL, Object(Types_Post_Builder), Object(WPML_Translation_Job_Helper)) #2 /var/www/html/SITE_NAME/wp-includes/plugin.php(235): Types_M2M->{closure}(Array, NULL) #3 /var/www/html/SITE_NAME/wp-content/plugins/wpml-translation-management/classes/translation-jobs/class-wpml-element-translation-p in /var/www/html/SITE_NAME/wp-content/plugins/types/application/models/post/builder.php on line 19

#911690

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - could you please confirm what Toolset plugin version you are using.

Could you please send me debug information that will help us to investigate your issue.
=> https://toolset.com/faq/provide-debug-information-faster-support/

Additionally, to which WPML version you try to update from what version. Could you please share these details and I will try to check reproduce this issue on my install. Few screenshot of "Translation Basket " would be helpful.

#914163

I updated WordPress, WPML, Toolset plugins. It seems that the problems are solved, thanks for your help.