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 5 replies, has 2 voices.
Last updated by eloiC-2 1 year, 2 months ago.
Assisted by: Dražen.
Author | Posts |
---|---|
February 7, 2024 at 11:26 am #15276319 | |
eloiC-2 |
Hi there, I resaved the permalinks, etc. |
February 7, 2024 at 12:29 pm #15276605 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, difficult to say without further information, please let me know next: 1) How did you create this CPT? 2) Does the issue still happen when using the WP default theme and only WPML plugins and ACF activated? 3) Please check the server and WP debug log for further information error message. 4) Do posts in 2nd language exist and are translated from the default language? Let me know. Thanks, |
February 7, 2024 at 12:33 pm #15276628 | |
eloiC-2 |
Hi Drazen, I've created this CPT with Advanced Custom fields. 2) Does the issue still happen when using the WP default theme and only WPML plugins and ACF activated? Yes, I've tested these before. It crashes ONLY when WPML is activated. 3) Please check the server and WP debug log for further information error message. There's this error: 4) Do posts in 2nd language exist and are translated from the default language? Yes. |
February 7, 2024 at 1:39 pm #15276832 | |
eloiC-2 |
Checking the issue, i see that it only happens when in WPML > Language URL format the active option is "Different languages in directories". Resaving permalinks etc... but happens when this option is selected. With "Language name added as a parameter" works fine. |
February 7, 2024 at 2:07 pm #15277007 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, thanks for getting back, difficult to say, but it should work fine in both cases. I can only suspect some hosting-specific issue / some additional code or a bug with WPML. That being the case I created a minimal installation of WordPress, WPML, ACF and all necessary WPML add-ons. You can access the WordPress dashboard using the link below: Kindly follow the steps below: Regards, |
February 7, 2024 at 2:12 pm #15277035 | |
eloiC-2 |
If I have the problem with custom post types and WPML, how can i replicate anything without installing anything? That's useless, sorry to say. |