This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're experiencing issues where your translation jobs tab is not loading and encountering a 'Division by Zero' PHP fatal error in the WPML plugin at
wp-content/plugins/sitepress-multilingual-cms/classes/API/REST/jobs/class-wpml-tm-rest-job-progress.php:41
, this might be similar to your situation.
Solution:
First, ensure you perform a full site backup. This is mandatory before proceeding with any changes. After backing up, check if you can access the Translation Jobs without encountering the fatal error.
If the issue persists, you may need to access your database using tools like PHPMyAdmin or Adminer to run necessary SQL commands suggested in the following similar tickets. Ensure the database table prefix matches your database settings (commonly 'wp_').
https://wpml.org/forums/topic/if-i-click-on-the-job-page-within-wordpress-it-says-that-jobs-cannot-be-loaded/
https://wpml.org/fr/forums/topic/split-impossible-de-charger-les-travaux/
Please note that this solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket with us for further assistance at WPML support forum.
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 is split from https://wpml.org/forums/topic/the-error-unable-to-load-task-is-displayed-in-the-translation-tasks/
This topic contains 3 replies, has 0 voices.
Last updated by 3 weeks, 5 days ago.
Assisted by: Bigul.