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.

No supporters are available to work today on this forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Izzi Hassan 8 months, 1 week ago.

Assigned support staff: Izzi Hassan.

Author Posts
November 20, 2020 at 2:42 am #7489367

amyL-11

I get this fatal error, although the site runs OK:

Fatal error: Uncaught InvalidArgumentException: Argument ID must be numeric and greater than 0. in /var/www/html/wp-content/plugins/sitepress-multilingual-cms/classes/translations/class-wpml-translation-element.php:28 Stack trace: #0 /var/www/html/wp-content/plugins/sitepress-multilingual-cms/classes/translations/class-wpml-translation-element-factory.php(41): WPML_Translation_Element->__construct(0, Object(SitePress), NULL) #1 /var/www/html/wp-content/plugins/sitepress-multilingual-cms/classes/translations/class-wpml-translation-element-factory.php(33): WPML_Translation_Element_Factory->create_post(0) #2 /var/www/html/wp-content/plugins/wpml-translation-management/classes/words-count/hooks/wpml-tm-word-count-refresh-hooks.php(39): WPML_Translation_Element_Factory->create(0, 'post') #3 /var/www/html/wp-includes/class-wp-hook.php(289): WPML_TM_Word_Count_Refresh_Hooks->refresh_post_word_count(0) #4 /var/www/html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #5 /var/www/html/wp-includes/plugin.php( in /var/www/html/wp-content/plugins/sitepress-multilingual-cms/classes/translations/class-wpml-translation-element.php on line 28
November 20, 2020 at 6:41 am #7490581

Izzi Hassan

Hi,

Thank you for reaching out to WPML Support.

I can see that you have Advanced Custom Fields Multilingual installed but not Advanced Custom Fields (which is not a WPML plugin and is available with free and paid versions).

I believe installing ACF should resolve your issue.

Best,
Izzi