Please note that this solution may become outdated or might not apply to your case. If the issue persists, we encourage you to open a new support ticket. We also highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins.
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.
Fatal error: Uncaught InvalidArgumentException: item should be a Collection or an array or an object in /home/redacted/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Obj.php:112
This error displays at the bottom of the 'translate custom fields' section in 'wpml > settings'. It is unable to render the sections below it due to this error.
When i disable "advanced custom fields multilingual" the error is removed.
Please note:
The provided debug info may include 'memory limit: 40'. This appears incorrect- both the server and phpinfo display 128M as the memory limit.
That workaround should help you resolve this for now.
I hope that you will find this information helpful. 🙂
Mihai Apetrei
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.