Skip Navigation

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
- 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 -
- - - - - - -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Waqas Bin Hasan 1 year, 9 months ago.

Assisted by: Waqas Bin Hasan.

Author Posts
September 14, 2023 at 11:19 am #14396393

franciscoR-11

I am trying to: edit translated post

Link to a page where the issue can be seen: hidden link

I expected to see: Entire edit page

Instead, I got: Only a piece of the edit page, title, content, and thats all. All metabox are not shown.

We found that if user has defined language "Site default", we get the error, but if user has language "ca" it works and the edit page is shown.

I found the error caused in my log :

PHP Fatal error: Uncaught ValueError: Unknown format specifier "i" in /var/www/apps/app0785/www/wp-content/plugins/sitepress-multilingual-cms/menu/post-menus/post-edit-screen/wpml-meta-boxes-post-edit-html.class.php:689
Stack trace:
#0 /var/www/apps/app0785/www/wp-content/plugins/sitepress-multilingual-cms/menu/post-menus/post-edit-screen/wpml-meta-boxes-post-edit-html.class.php(689): sprintf()
#1 /var/www/apps/app0785/www/wp-content/plugins/sitepress-multilingual-cms/menu/post-menus/post-edit-screen/wpml-meta-boxes-post-edit-html.class.php(609): WPML_Meta_Boxes_Post_Edit_HTML->display_set_as_dupl_btn()
#2 /var/www/apps/app0785/www/wp-content/plugins/sitepress-multilingual-cms/menu/post-menus/post-edit-screen/wpml-meta-boxes-post-edit-html.class.php(62): WPML_Meta_Boxes_Post_Edit_HTML->copy_from_original()
#3 /var/www/apps/app0785/www/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php(2067): WPML_Meta_Boxes_Post_Edit_HTML->render_languages()
#4 /var/www/apps/app0785/www/wp-admin/includes/template.php(1445): SitePress->meta_box()
#5 /var/www/apps/app0785/www/wp-admin/edit-form-advanced.php(681): do_meta_boxes()
#6 /var/www/apps/app0785/www/wp-admin/post.php(206): require('...')
#7 {main}
thrown in /var/www/apps/app0785/www/wp-content/plugins/sitepress-multilingual-cms/menu/post-menus/post-edit-screen/wpml-meta-boxes-post-edit-html.class.php on line 689

September 15, 2023 at 8:19 am #14401227

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting the support.

May I ask for the debug information of your website for an overview of your setup? See https://wpml.org/faq/provide-debug-information-faster-support/ for more information.

I've enabled the debug information section for your next reply.

Additionally you can also take a look at https://wpml.org/faq/checklist-before-opening-a-ticket-in-wpml-support/ and cross-check for a few initial fixes.

See https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ for details on privacy and security.

Regards.

The topic ‘[Closed] Translated post edit page doesn't show content’ is closed to new replies.