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.

WordPress 6.7 has introduced a new issue that impact translations, please update WooCommerce and WPML to the latest versions before you report issues. More about this here - https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
Sun Mon Tue Wed Thu Fri Sat
- 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 -
- 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 -

Supporter timezone: Europe/Vienna (GMT+01:00)

This topic contains 2 replies, has 0 voices.

Last updated by davidF-18 29 minutes ago.

Assisted by: Bigul.

Author Posts
November 22, 2024 at 11:34 am #16433631

davidF-18

Background of the issue:
I am trying to access ACF options in the website's WordPress Admin Area. I expected to see the usual ACF settings pages.

Symptoms:
There has been a critical error on this website. PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/customer/www/lagavina.com/public_html/wp-content/plugins/sitepress-multilingual-cms/menu/post-menus/wpml-posts-listing-page.class.php:26

Questions:
How can I resolve the critical error when accessing ACF options?
What steps should I take to fix the PHP Fatal error related to the WPML plugin?

November 22, 2024 at 5:44 pm #16434982

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

As per the Debug information Advanced Custom Fields Multilingual plugin is not installed on the site. It is mandatory for the proper translation of ACF fields.

Therefore please activate the Advanced Custom Fields Multilingual after a full site backup and make sure the bug exists or not. Refer to the following article for more details.

https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/

--
Thanks!

Bigul

November 22, 2024 at 7:30 pm #16435163

davidF-18

Hi Bigul,

Thanks for picking this up.

We are reluctant to install the ACFML plugin as we find it causes other issues - we run quite a number of sites with WPML, so we do have some experience.

This site (and a lot of others we manage) has been running quite happily without this problem (and without ACFML) for several years.

I should also say that we have a clone of this site for dev purposes on a separate server that does not show this issue and it also doesn't have the ACFML plugin installed.

Finally, we have found at least one support request (unresolved) for a similar issue but only where ACFML was installed. So we think it very unlikely that lack of ACFML plugin is the issue.

Apart from the dev site on a different server, we have a staging copy of the site on the same server environment as the live site - this shows similar but not identical issues. Could I give you access to the staging site to take a look at that?

Thanks in advance,

David