dimanche 27 janvier 2019

Getting error in wordpress site while trying to create new portfolio "'Argument ID must be numeric and greater than 0.'"

Hi everyoneI need help with the following, I am getting internal server error when I am trying to add new portfolio in my wordpress site.

Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Argument ID must be numeric and greater than 0.' in /var/www/html/gar/wp-content/plugins/sitepress-multilingual-cms/classes/translations/class-wpml-translation-element.php:28 Stack trace:

0 /var/www/html/gar/wp-content/plugins/sitepress-multilingual-cms/classes/translations/class-wpml-translation-element-factory.php(35): WPML_Translation_Element->__construct(0, Object(SitePress), NULL)

1 /var/www/html/gar/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')

2 [internal function]: WPML_TM_Word_Count_Refresh_Hooks->refresh_post_word_count(0)

3 /var/www/html/gar/wp-includes/plugin.php(525): call_user_func_array(Array, Array)

4 /var/www/html/gar/wp-includes/post.php(3385): do_action('save_post', 0, NULL, false)

5 /var/www/html/gar/wp-admin/includes/post.php(625): wp_insert_post(Array)

6 /var/www/html/gar/wp-admin/post-new.php(83): get_ in /var/www/html/gar/wp-content/plugins/sitepress-multilingual-cms/classes/translations/class-wpml-translation-element.php on line 28

Who knows what can I do ?




Aucun commentaire:

Enregistrer un commentaire