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.


This topic contains 1 reply, has 2 voices.

Last updated by Mateus Getulio 1 year, 2 months ago.

Assigned support staff: Mateus Getulio.

Author Posts
June 11, 2021 at 12:37 pm

zajzonB-2 Site owner


Our site has a Hungarian translation.

The plugin causes the Hungarian site to be down. The /hu (Hungarian translation) shows broken pages and this error:

"Parameter must be an array or an object that implements Countable in plugins/sitepress-multilingual-cms/classes/wp-core-hooks/post/class-wpml-remove-pages-not-in-current-language.php"

June 11, 2021 at 1:16 pm
June 11, 2021 at 8:49 pm #8975493

Mateus Getulio

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello there,

Thank you for contacting our support forum!

Based on similar issues, we believe that this could have been caused by a cache and/or performance issue.

We could solve the issue by following these steps:

- First, we purged the cache on the SG Optimizer plugin
- Also, we increased the WP memory limit to match the same value of PHP: 768M

After these actions, the Hungarian version of your website is available again. Could you please check it and confirm that the problem is resolved? Let us know, please.

Best regards,