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 3 replies, has 2 voices.

Last updated by davidb-80 1 year, 1 month ago.

Author Posts
May 3, 2024 at 5:57 pm #15592480

davidb-80

I am unable to proceed translating a Gravity Form because of an error.

I looked at the ATE error logs and no errors are of the date of today. I also made sure that WPML is updated and that the minimum requirements are met.

May 3, 2024 at 6:37 pm #15592676

davidb-80

I find that when WPML tries to get the jobs, it returns an error on top of the JSON :

<br/><b>Warning</b>: Attempt to read property "element_id" on null in <b>/home/1175980.cloudwaysapps.com/beqfefpucb/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/API/REST/jobs/class-wpml-tm-rest-jobs-view-model.php</b> on line <b>187</b><br/>

May 3, 2024 at 11:44 pm #15592970

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

First, please take a complete backup of your site and database.

Go to Plugins > Add new > Commercial and click "Check for WPML Updates".

Update all our plugins to the latest available versions.

If there are updates for other plugins available on your site, please also run them.

Now, edit the original form in Gravity Forms and save it again.

Finally, go to WPML > Translation Management, create a new job for your form, and translate it by going to WPML > Translations.

If this will not solve the issue, please let us know.

Best regards
Andreas

May 6, 2024 at 1:30 pm #15597581

davidb-80

Hello,

Unfortunately the issue persists regardless. Looking forward to hear what to attempt next.

Best regards,

May 6, 2024 at 7:21 pm #15599100

davidb-80

Error reporting was still enabled and showed into the .json payload

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL & ~E_DEPRECATED);