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: Africa/Cairo (GMT+03:00)

This topic contains 7 replies, has 2 voices.

Last updated by Osama Mersal 1 year, 8 months ago.

Assisted by: Osama Mersal.

Author Posts
August 28, 2023 at 4:52 pm #14302577

felixL-7

Hi,

we are using WPML together with ACF custom post types with translation of custom post types enabled. However, there seems to be a strange issue we cannot resolve. When we click on the french switcher in the backend while being in the cutom post type posts overview, we receive an "Invalid post types" error.

On top, the custom post type toggle in settings shows, when viewed from teh frech backend, the french slug in the field for the english one. I could not figure out how to change this, using the troubleshooting options of WPML did not help either.

Many thanks for your support.
Jona

August 29, 2023 at 6:30 am #14304069

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi Jona,

Thanks for contacting WPML forums support. I'll be glad to help you today.

1) Would you please share screenshots or a screen-recorded video while reproducing the issue to help me understand it better?

2) It's not related to the issue, but according to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. The minimum requirements for WPML are 128 MB. (Kindly check this page https://wpml.org/home/minimum-requirements/)

You can increase it by adding the following code in your wp-config.php file right before the /* That's all, stop editing! Happy publishing. */ line:

/* Memory Limit */
define('WP_MEMORY_LIMIT', '256M');
define( 'WP_MAX_MEMORY_LIMIT', '256M');

Best regards,
Osama

August 29, 2023 at 11:35 am #14306579

felixL-7

Hi, many thanks. We have increased the memory limit. Please find screenshot attached to understand the issue better. Looking very much forward to your response. Thanks

Bildschirmfoto 2023-08-29 um 13.32.15.png
Bildschirmfoto 2023-08-29 um 13.31.51.png
Bildschirmfoto 2023-08-29 um 13.31.43.png
Bildschirmfoto 2023-08-29 um 13.29.01.png
Bildschirmfoto 2023-08-29 um 13.28.12.png
August 29, 2023 at 11:38 am #14306697

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for your update. I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
– preferably to a test site where the problem has been replicated if possible –
in order to be of better help and check if some configurations might need to be changed.

Your next answer will be private, which means only you and I can access it.

❌ Please backup your database and website ❌

✙ I would need your permission to de-activate and re-activate the Plugins and the Theme and change configurations on the site. This is also a reason the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,

August 29, 2023 at 12:08 pm #14306855

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Would you please check the access details? I got the following error. (Error: The password you entered for the username *** is incorrect. Lost your password?)

Thanks,

August 29, 2023 at 12:50 pm #14307307

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for the access details. Would you please check if the project's post type works correctly?

Best regards,

August 29, 2023 at 12:53 pm #14307337

felixL-7

It does! Great! Kindly let me know what to do on the version to replicate the solution. Thanks a million!

The topic ‘[Closed] Custom post types with ACF and WPML’ is closed to new replies.