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 hidden link. 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?
The topic ‘[Closed] fatal error on your site’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.