Background of the issue:
I am trying to add translations using WPML on a different WPML account. The issue can be seen on the page: hidden link.
Symptoms:
I expected to see a translation, but instead encountered a fatal error: 'Fatal error: Uncaught InvalidArgumentException: Argument ID must be numeric and greater than 0.' This error occurred in /kunden/271842_74348/webseiten/scharnberg/wp-content/plugins/sitepress-multilingual-cms/classes/translations/class-wpml-translation-element.php on line 29.
I will try to answer the question before assigning the ticket to one of my colleagues.
Would you please test if the same thing happens on a minimal installation?
- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Switch to the default theme such as "TwentyTwenty" by going to "WordPress Dashboard > Appearance > themes".
- Go to "WordPress Dashboard > Plugins" and deactivate all plugins except WPML Multilingual CMS and WPML String Translation.
- Keep the WPML Media translation deactivated for the test.
- Check if you can still recreate the issue.
- If not, re-activate your plugins one by one and check the issue each time to find out the plugin that causes the problem.
If the issue persists, I'd appreciate it following the recommendation given in the ticket below:
If you manipulate the website database, make sure you have a backup before doing so.
Thanks.
The topic ‘[Closed] Issue with WPML’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.