Skip Navigation

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

Problem:
If you're experiencing a critical error (white page) when editing a post with WPML activated, and WPML indicates that the REST API is not activated even though it is working, the issue might be related to the ACF Multilingual plugin.
Solution:
We recommend reinstalling the ACF Multilingual plugin with a fresh copy. You can download it from here.

If this solution does not apply to your case, or if it seems outdated, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. We highly recommend opening a new support ticket if the problem persists. You can do so at WPML 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 4 replies, has 1 voice.

Last updated by haraldS-3 1 day, 9 hours ago.

Assisted by: Long Nguyen.

Author Posts
November 14, 2024 at 9:04 am #16401284

haraldS-3

Background of the issue:
I am trying to clone a dev page to a Plesk environment. I copied files and the database to a new server and used 'search & replace' to change the domain in the database. The site I need help with is hidden link. The page uses a password, and I can provide it via a private message.

Symptoms:
When editing a post, a critical error (white page) occurs when WPML is activated. WPML also shows that the REST API is not activated, but the REST API is working.

Questions:
Why does a critical error occur when editing a post with WPML activated?
Why does WPML indicate that the REST API is not activated when it is working?

November 14, 2024 at 9:48 am #16401478

haraldS-3

Fehler-Details
==============
Ein Fehler vom Typ E_ERROR wurde in der Zeile 30 der Datei /var/www/vhosts/global-gruppe.com/global-gruppe.com/dev/wp-content/plugins/acfml/classes/strategy/repeater-shuffle/Resolver.php verursacht. Fehlermeldung: Uncaught Error: Class "ACFML\Repeater\Shuffle\Post" not found in /var/www/vhosts/global-gruppe.com/global-gruppe.com/dev/wp-content/plugins/acfml/classes/strategy/repeater-shuffle/Resolver.php:30
Stack trace:
#0 /var/www/vhosts/global-gruppe.com/global-gruppe.com/dev/wp-content/plugins/acfml/classes/strategy/repeater-sync/HooksFactory.php(23): ACFML\Repeater\Shuffle\Resolver::getStrategy()
#1 /var/www/vhosts/global-gruppe.com/global-gruppe.com/dev/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php(148): ACFML\Repeater\Sync\HooksFactory->create()
#2 /var/www/vhosts/global-gruppe.com/global-gruppe.com/dev/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php(125): WPML_Action_Filter_Loader->run_factory()
#3 /var/www/vhosts/global-gruppe.com/global-gruppe.com/dev/wp-includes/class-wp-hook.php(324): WPML_Action_Filter_Loader->deferred_loader()
#4 /var/www/vhosts/global-gruppe.com/global-gruppe.com/dev/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#5 /var/www/vhosts/global-gruppe.com/global-gruppe.com/dev/wp-includes/plugin.php(517): WP_Hook->do_action()
#6 /var/www/vhosts/global-gruppe.com/global-gruppe.com/dev/wp-settings.php(726): do_action()
#7 /var/www/vhosts/global-gruppe.com/global-gruppe.com/dev/wp-config.php(100): require_once('...')
#8 /var/www/vhosts/global-gruppe.com/global-gruppe.com/dev/wp-load.php(50): require_once('...')
#9 /var/www/vhosts/global-gruppe.com/global-gruppe.com/dev/wp-admin/admin.php(34): require_once('...')
#10 /var/www/vhosts/global-gruppe.com/global-gruppe.com/dev/wp-admin/post.php(12): require_once('...')
#11 {main}
thrown

November 14, 2024 at 9:58 am #16401488

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

While one of my teammates addresses your ticket, I will provide you with some initial debugging steps.

I recommend downloading fresh copies of the WPML plugins https://wpml.org/account/downloads/ and installing them to see if it helps.

If the issue persists, consider moving your website again to the staging site, using plugins like "Duplicator" or "All-in-One Migration." It could be that not all files have been moved or something is corrupted in the database.

November 15, 2024 at 10:58 am #16407585

haraldS-3

i use fresh copies of WPML and reimported files and db, nothing helped

November 19, 2024 at 1:24 am #16417218

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Harald,

According to the error log, you should reinstall the ACF Multilingual plugin with a fresh copy. Please download it here https://wpml.org/download/acfml/?section=changelog

If it does not help, I would like to request temporary access (wp-admin and FTP) to your site so I can take a better look at the issue. It would be better to have a testing site where the issue is replicated. Your next reply is set to private to share the info.

❌ IMPORTANT: Please backup your database and website before proceeding ❌
You can use this plugin to create the backup: https://wordpress.org/plugins/duplicator/
✙ I would need your permission to de-activate and re-activate Plugins and the Theme to change configurations on the site if needed. This is also a reason the backup is critical.

Looking forward to your reply.
Thanks

November 20, 2024 at 10:55 am #16424035

haraldS-3

Reinstalling ACF Multilingual Plugin did the trick! Thank you!