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.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 8:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 8:00 – 12:00 | 8:00 – 12:00 | - |
- | 14:00 – 17:00 | 14:00 – 18:00 | 14:00 – 18:00 | 13:00 – 17:00 | 13:00 – 17:00 | - |
Supporter timezone: Europe/Zagreb (GMT+02:00)
This topic contains 10 replies, has 2 voices.
Last updated by Bruno Kos 1 year, 9 months ago.
Assisted by: Bruno Kos.
Author | Posts |
---|---|
October 17, 2023 at 11:48 am #14593677 | |
pauli-7 |
PHP 8.2 Compatibility issue - ACFML Hello, We are currently migrating our main Tigercat.com website to PHP 8.2 and we are debugging and checking main Web site functionalities. So it might be of your interest to know that if we remove for example a POST Relationship and update current POST (ie: CPT Product) Do you have an idea why this happens with PHP 8.2 and not with PHP 7.4? ERROR (JSON): { Thank you for your help on this important issue. Best regards. |
October 18, 2023 at 7:58 am #14599771 | |
Bruno Kos WPML Supporter since 12/2018
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+02:00) |
Hi, Thank you for contacting WPML support! Are able to reproduce this issue in our sandbox site? It has PHP 8.1, but if the issue is reproducible on PHP 8.2 and not PHP 7.4, then it is probably something specific to PHP 8 so we may not need the newest version (even though we can of course test in your exact version as well). Regards, |
October 19, 2023 at 4:17 pm #14617825 | |
pauli-7 |
Hello Bruno, I'm not sure if you're asking me to do something or not... The critical error is present with PHP 8.2 but not PHP 7.4! * This happens when there is a relationship ACF set to no translate. So what should I do to solve this problem? Thank you for your help. JM (working for Paul) |
October 19, 2023 at 4:51 pm #14618069 | |
pauli-7 |
And also I've just tried with PHP 8.0 and we get the same critical error... Thank you for your help on this. JM |
October 23, 2023 at 7:32 am #14633499 | |
Bruno Kos WPML Supporter since 12/2018
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+02:00) |
Ok, on this sandbox: Can you do the following: I installed all the required plugins, if something else is needed by all means. We only need a basic example, let me know if not clear to be done. |
October 23, 2023 at 2:53 pm #14639517 | |
pauli-7 |
Hello Bruno, So I've been starting to create the case in your sandbox but it's hard to reproduce it as in this sandbox there are many ACF builders with layouts, repeaters and relationship which are missing. These ACF relates to custom post type you do not have either... So! But apart from that, I was able to save a POST without critical error when I check the "ACFML Synchronize Translations" box. If it's checked there no errors and it saves the POST. If it's not checked it generates a critical error and does not save the POST! The problem is that we do not want to synchronize the repeaters or flexible fields. As I do not have access to FTP for sandbox I cannot put the custom post types or the flexible layouts. I'll try to create some of the ACF fields type we have on your sandbox but I will not be able to really clone the actual structure. I'll let you know. Thank you. JM |
October 24, 2023 at 8:22 am #14643873 | |
Bruno Kos WPML Supporter since 12/2018
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+02:00) |
I see, I thought it would be as simple as only importing your field groups which is matter of a few clicks and create a post and translate. However given the complexity of your setup, an alternative would be that you provide us with Duplicator package of your website, but with media files (and other bigger files) removed. Let me know if this would work for you and I will open a private reply. |
October 24, 2023 at 10:02 am #14645739 | |
pauli-7 |
Hello Bruno, Yep that would be a good solution except that the setup is even more complex to transfer as there are APIs keys and licenses in a bunch of places. Thank you for your answers. Best regards JM |
October 24, 2023 at 10:39 am #14646355 | |
Bruno Kos WPML Supporter since 12/2018
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+02:00) |
Do you mean this plugin https://wpml.org/download/acfml/?section=changelog or is "ACFML Sync" some other plugin? In theory it may be possible to translate ACF built pages in the event that they are translated manually in WordPress even without ACFML, however we always tend to fix any ACFML issue. |
October 24, 2023 at 11:37 am #14647035 | |
pauli-7 |
This one: Advanced Custom Fields Multilingual Version 2.0.5 | By OnTheGoSystems | View details |
October 24, 2023 at 1:05 pm #14647891 | |
Bruno Kos WPML Supporter since 12/2018
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+02:00) |
Ok, you can then continue without it but check if the translations work properly. Because ACF is a specific plugin, that's why we created our glue plugin to ensure compatibility and easier translation. However if you wish to proceed with debugging this, we can also go this route. |
The topic ‘[Closed] PHP 8.2 ACFML Sync bug’ is closed to new replies.