I was trying to translate the page "Architecture" - add German language with the WPML Translate Editor. There is a ACF field attached, which I have set to "same fields".
As soon as I hit the Translator Editor button I get a fatal error.
PHP Fatal error: Uncaught TypeError: strlen(): Argument #1 ($str) must be of type string, array given in /home/sebastian/webapps/AndrewPhelps/wp-content/plugins/wpml-string-translation/classes/filters/strings-filter/class-wpml-register-string-filter.php:205
Stack trace:
Hello Bigul,
thanks for your message.
I am using ACF fields (including repeater / flexible content fields) on the site, but I don't use any ACF Blocks nor the table plugin mentioned in the other ticket.
I've found the issue. The page has Bricksbuilder and ACF fields on it. When I removed the bricks content and used a template instead, it works again.
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.