Skip to content Skip to sidebar

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 1 reply, has 0 voices.

Last updated by Bigul 8 months, 4 weeks ago.

Author Posts
August 19, 2025 at 3:27 am #17329633

andreasS-58

Background of the issue:
I was trying to access the WP Menus Sync feature in WPML by opening the URL wp-admin/admin.php?page=sitepress-multilingual-cms%2Fmenu%2Fmenu-sync%2Fmenus-sync.php. I encountered issues while doing so.

Symptoms:
I received a warning message: 'Undefined property: WP_Error::$name' and several warnings about 'Cannot modify header information - headers already sent'. These warnings were related to the file wpml-menu-sync-functionality.class.php on line 158 and functions.php on lines 7168 and 7144.

Questions:

August 19, 2025 at 9:06 am #17330445

Bigul

Hello,

Welcome to the WPML support forum. Before passing this thread to my colleague, I would like to share some suggestions and possible solutions for the issues you mentioned.

This alert won't affect the normal functioning of WPML. As a temporary workaround, we recommend setting debug mode to false by adding or changing the following code in your wp-config.php file, located at the root of your WordPress installation:

define('WP_DEBUG', false);

This should help to resolve the issue until a permanent solution is implemented in future releases. Please try it after a site backup and let us know your feedback.

Please refer to this documentation for guidance on translating the menus: https://wpml.org/documentation/getting-started-guide/translating-menus/

--
Thanks!

Bigul

The topic ‘[Closed] Undefined property: WP_Error::$name’ is closed to new replies.