Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client was trying to translate a page with ACF Custom fields and encountered an error:

WP_Text_Diff_Renderer_Table::__isset()

. The issue was visible in the admin page for translating a selected post, where instead of the expected content, a RuntimeException occurred stating 'Could not retrieve field contents for job_id: 3', along with a deprecation notice for a property

_base64

not being declared.

Solution:
We recommended the client to update the WPML plugins to the latest version by navigating to Plugins -> Add New -> Commercial tab and then check if the issue still persists.

Please note that the solution provided might be outdated or not applicable to your case. If after following the steps the issue remains, we encourage you to open a new support ticket. We also highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins.

If you need further assistance, please visit our 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.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Carlos Rojas 1 year, 11 months ago.

Assisted by: Carlos Rojas.

Author Posts
March 6, 2024 at 10:04 am #15378352

fabriceA-3

I am trying to: translate a page with ACF Custom fields.

Error is :
WP_Text_Diff_Renderer_Table::__isset(): The property `_base64` is not declared. Checking `isset()` on a dynamic property is deprecated since version 6.4.0! Instead, declare the property on the class. (16384)

Link to a page where the issue can be seen: /wp-admin/admin.php?page=tm%2Fmenu%2Ftranslations-queue.php&return_url=%2Fwp%2Fwp-admin%2Fedit.php%3Fpost_type%3Dform%26lang%3Den%26admin_bar%3D1&lang=en&job_id=3

I expected to see: The admin page to translate the selected post.

Instead, I got:

RuntimeException
Could not retrieve field contents for job_id: 3
Previous exceptions
WP_Text_Diff_Renderer_Table::__isset(): The property `_base64` is not declared. Checking `isset()` on a dynamic property is deprecated since version 6.4.0! Instead, declare the property on the class. (16384)

Commenting out the deprecation error in wordpress core files "fix" it. So it's incompatibility within WPML.

CleanShot 2024-03-06 at 11.02.35.png
March 6, 2024 at 12:33 pm #15379226

Carlos Rojas
WPML Supporter since 03/2017

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

Timezone: Europe/Madrid (GMT+01:00)

Hello,
Thank you for contacting us

Please update the WPML plugins to the latest version in Plugins -> Add new -> Commercial tab and double-check if the issue persists.

Regards,
Carlos