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 Lauren 1 year, 8 months ago.

Assigned support staff: Lauren.

Author Posts
September 24, 2018 at 4:00 pm


I am trying to: Get the Weather forecast widget on native English page to show like it shows on other languages. (Scroll down to "Local Weather")

Link to a page where the issue can be seen:

hidden link

I expected to see:

For example on this translation it is displayed Correctly: hidden link

Instead, I got:

This error message:

Warning: count(): Parameter must be an array or an object that implements Countable in /home/disco065/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1262

September 25, 2018 at 7:00 pm #2765052


Languages: English (English )

Timezone: America/New_York (GMT-04:00)

Thank you for contacting WPML support. I'll be happy to help you with this.

I just loaded the English version and I can see the Local Weather section, I don't see any error. Can you tell me if the issue is resolved, or if you changed anything on your site?