I have installed:
- WPML Multilingual CMS (4.6.3)
- Advanced Custom Fields Pro (6.1.6)
- Advanced Custom Fields Multilingual (2.0.5)
I configured a secondary language. Now I want to make all Options pages translatable, so I configure all options to 'copy', 'copy once' and so on. After doing this, I duplicated the options page to the secondary language. Everything works.
But now, if I want to make a change to the fields for the primary language and save, I get the following fatal error:
"Fatal error: Uncaught Exception: item should be a Collection or an array or an object
in /Users/Dominique/Local/studio-figments/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Obj.php on line 112"
Thank you for contacting WPML support, I'd be happy to help you with this issue.
Checking the debug info, I see there are some issues, please fix it and check the issue again to see how it goes.
1.
- Go to ACF > Switch the language to Dutch with the language switcher at the topbar.
- Delete all field groups in the Dutch language.
- Go to WPML > Settings > Post Types Translation > Set the post type "acf-field-group" to Not Translatable.
2. Increase WP memory limit: The minimum requirements are 128M, but we do recommend 256M and the debug information of your site shows it set to 40M. Please check this link for more details https://wpml.org/home/minimum-requirements/.
You can increase it by adding the following code in your wp-config.php file, right before the /* That’s all, stop editing! Happy publishing. */ line:
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.