Background of the issue:
I am working on a site under development and encountered a fatal error related to the WPML Multilingual CMS plugin. WordPress detected this error and notified me via email. The error occurred on the page скрытая ссылка. I am using WordPress version 6.7.1, the Astra theme version 4.8.7, and PHP version 8.2.27. The error details are as follows: An error of type E_ERROR was caused in line 26 of the file /home/customer/www/gl-herb.com/public_html/wp-content/plugins/sitepress-multilingual-cms/menu/post-menus/wpml-posts-listing-page.class.php. Error message: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given.
Symptoms:
Fatal error on the site due to WPML Multilingual CMS plugin, with the error message: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given.
Questions:
and there is another problem,when i setup WPML for woocommerce the product goes wrong like the picture i showed 。when i deactive the Yoast SEO it goes right,before i setup the WPML for woocommerce the product is also right ,so what is the two problems,can you help me?
Тема '[Закрытые] fatal error on your site' закрыта для новых ответов.
Управление согласием на использование Cookie
Мы используем cookies для оптимизации нашего сайта и услуг. Ваше согласие позволяет нам обрабатывать такие данные, как поведение при просмотре. Отказ от согласия может повлиять на работу некоторых функций.
Функциональный
Всегда активен
Это необходимо для корректной работы нашего веб-сайта.
Предпочтения
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Статистика
Мы используем их для анализа статистики нашего сайта. Собранная информация полностью анонимна. Техническое хранение или доступ, используемые исключительно для анонимных статистических целей. Без повестки, добровольного согласия вашего интернет-провайдера или дополнительных записей третьих лиц информация, хранящаяся или извлекаемая для этой цели, обычно не может быть использована для вашей идентификации.
Маркетинг
Эти cookies отслеживают Ваш просмотр веб-страниц, чтобы предоставлять релевантную Вам рекламу.