Symptoms:
The custom field area appears with HTML code when translated.
Questions:
Why does the custom field area appear with HTML code when translated?
How can I fix the issue of HTML code appearing in the translated custom field area?
You may inform me that this issue is caused by the ACF Multilingual plugin.
I installed it because I had another issue and a colleague from WPML instructed me to install it.
Just letting you know
IOn my main website I received the following email regarding a critical error.
------------------------------------------------------------------------------
WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
In this case, WordPress caught an error with one of your plugins, WPML Multilingual CMS.
First, visit your website (hidden link) and check for any visible issues. Next, visit the page where the error was caught (hidden link) and check for any visible issues.
Please contact your host for assistance with investigating this issue further.
If your site appears broken and you can't access your dashboard normally, WordPress now has a special "recovery mode". This lets you safely login to your dashboard and investigate further.
hidden link
To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires.
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.5.5
Active theme: Divi Child (version 1.0.0)
Current plugin: WPML Multilingual CMS (version 4.6.11)
PHP version 7.4.33
Error Details
=============
An error of type E_ERROR was caused in line 112 of the file /home/bluepans/twoweeksago.bluepanselinos.com/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Obj.php. Error message: Uncaught InvalidArgumentException: item should be a Collection or an array or an object in /home/bluepans/twoweeksago.bluepanselinos.com/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Obj.php:112
Stack trace:
#0 [internal function]: WPML\FP\Obj::WPML\FP\{closure}(NULL, 'post_type', '')
#1 /home/bluepans/twoweeksago.bluepanselinos.com/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(154): call_user_func_array(Object(Closure), Array)
#2 [internal function]: WPML\FP\Obj::WPML\FP\{closure}(NULL, 'post_type', '')
#3 /home/bluepans/twoweeksago.bluepanselinos.com/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Traits/Macroable.php(56): call_user_func_array(Object(Closure), Array)
#4 /home/bluepans/twoweeksago.bluepanselinos.com/wp-content/plugins/acfml/classes/Helper/Cpt.php(29): WPML\FP\Obj::__callStatic('propOr', Array)
#5 /home/bluepans/twoweeksago.bluepanselinos.com/wp-content/plugins/acfml/classes/TranslationDataColumnsHo
I regret any inconvenience caused, but to proceed with troubleshooting, I kindly ask for a snapshot of the site. Alternatively, with your permission, I can create one myself. For this purpose, I typically recommend using the free plugin "Duplicator." If you're already familiar with Duplicator (https://wordpress.org/plugins/duplicator/), please skip the following steps and simply send me the archive file you downloaded.
To guide you further, please adhere to these instructions:
1. View the Duplicator instructions video: hidden link
3. If the archive file exceeds 400MB, please use Duplicator's file filters to exclude cache, wp-uploads directory, media, and archive files.
Once you have the archive file ready, kindly share the link with us. You can utilize platforms like Google Drive, Dropbox, or similar for file sharing, as the snapshot file might be large.
Please note that your next reply will be private, visible only to you and me. You can paste the file link there. Rest assured that once the issue is resolved, I will delete the local site.
Even after deactivating most of the third-party plugins, I can still replicate this issue. I'd like to escalate this matter to our second-tier support for further investigation. I'll update you as soon as I receive any feedback.
I have restored the Website before ACF Multilingual was installed.
As you can see from the video, the ACF multilingual was recommended to fix the issue with the Custom Field "Amenities".
In the video the "Amenities" do not show up as they are supposed to, in Spanish translation.
The ACF multilingual fixed that.
But at the same time, the ACF Multilingual created another problem.
It broke the translated version of the Custom Field "Tour Info".
In the video you see that the Tour Info fields gets translated properly and its style is maintained.
Once the ACF Multilingual was installed, the Spanish Translation broke - the custom field appears with no styling and there is nothing I could do about it.
hidden link
July 2, 2024 at 1:48 pm
July 3, 2024 at 7:55 am
The topic ‘[Closed] CUSTOM FIELD AREA appears with HTML code when translated’ is closed to new replies.