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
- 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)

Tagged: 

This topic contains 1 reply, has 0 voices.

Last updated by Bigul 5 days, 21 hours ago.

Assisted by: Bigul.

Author Posts
February 21, 2025 at 10:41 pm #16735403

dominikS-27

Background of the issue:
I am trying to view our translated page without errors. I encountered an error while accessing our second/translated language page. The error message is:

Warning: Attempt to read property "count" on null in /var/www/vhosts/manurefetish.com/httpdocs/wp-includes/class-wp-term-query.php on line 852 

. The issue can be seen at the following link: hidden link.

Symptoms:
I expected to see no errors, but instead, I got the following error:

Warning: Attempt to read property "count" on null in /var/www/vhosts/manurefetish.com/httpdocs/wp-includes/class-wp-term-query.php on line 852 

.

Questions:
How can I resolve the error related to 'count' on null in the translated page?

February 22, 2025 at 3:54 pm #16736546

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.

This may be related to the following tickets.

https://wpml.org/forums/topic/warning-cannot-modify-header-information-error/

https://wpml.org/forums/topic/hi-im-getting-an-error-message-very-few-seconds/

Please try the workaround suggested in this ticket after a full site backup {mandatory} and make sure the bug exists or not - https://wpml.org/forums/topic/hi-im-getting-an-error-message-very-few-seconds/#post-15521241

--
Thanks!

Bigul