Problem:
I am working on a site for a client in a staging environment. Content in English is getting ready, and I now wanted to translate to other languages using the PTC automatic translation with WPML. So I go to Translation Dashboard, select one page (tried multiple pages), scroll down and select translate automatically (have tried all langs, and two different individual languages). Then I select "Publish with review" or "Publish without review" (tried both) and click "Translate content". It processes for a while and then shows a message that the page has been sent to translation.
Now in the Translations Queue, it is not assigned to anything and if I try "Take and translate" I get an error message.
So it does not translate automatically and also it won't let me translate manually. I have allocated tenfold enough credits, updated the license key, removed and reinstalled the WPML using OTGS and set the WP memory limit to 512M (PHP limit is 1024)
Solution:
Please ask your host/dev to take a DB backup and run:
ALTER TABLE wp_sg_wp_icl_translate_job
MODIFY job_id bigint(20) unsigned NOT NULL AUTO_INCREMENT;