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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: Asia/Singapore (GMT+08:00)

This topic contains 0 reply, has 0 voices.

Last updated by Kor 1 month, 2 weeks ago.

Assisted by: Kor.

Author Posts
April 22, 2025 at 11:06 am #16954711

nielsB-10

Background of the issue:
I was trying to remove some employees (Dutch and Spanish) in CPT and then cleaned the cache using WP Rocket. After doing this, I encountered a fatal error. Here is the link to a page where the issue can be seen: hidden link

Symptoms:
An error of type E_ERROR was caused in line 26 of the file /home/617149.cloudwaysapps.com/etmrqwhkur/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. The site works after the error, but I am not sure if this could create problems in the future.

Questions:
What causes the fatal error after cleaning the cache?
Could this error create problems in the future?

April 22, 2025 at 11:11 am #16954754

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

April 22, 2025 at 1:10 pm #16955371

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. Does it happen all the time for you? Because when I checked, it works fine as shown in this screen recording hidden link

April 28, 2025 at 9:40 am #16974024

nielsB-10

Hi Kor,

sorry for late reply but we had some days off here in spain. Well i had to remove about 3 times employees and happend every time. And exact how you did it.

So strange. Let me recored the next one and see if happens again.

Thanks for checking and have a great day.

April 28, 2025 at 9:42 am #16974036

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. Please clear your browser cache and let me know how it goes.

The topic ‘[Closed] After changing something on the website > clean cache (wp rocket) i get fatel error but after that s…’ is closed to new replies.