Resolved by author
Overview of the issue
Under some scenarios, you may find the following error when trying to translate a page created with Bricks theme:
Fatal error: Uncaught TypeError: strlen(): Argument #1 ($str) must be of type string, array given in .../wp-content/plugins/wpml-string-translation/classes/filters/strings-filter/class-wpml-register-string-filter.php:205
Workaround
This issue has already been identified by Bricks team and a fix will be released soon in 1.9.2 version.
In the meantime, you can use their beta version which is already available.
Fatal error: Uncaught TypeError: strlen(): Argument #1 ($str) must be of type string, array given in /home/j4nfx5nz48jr/public_html/wp-includes/blocks/site-tagline/.52da22ed.css(97) : eval()’d code:4 Stack trace: #0 /home/j4nfx5nz48jr/public_html/wp-includes/blocks/site-tagline/.52da22ed.css(97) : eval()’d code(4): yjzpwq() #1 /home/j4nfx5nz48jr/public_html/wp-includes/blocks/site-tagline/.52da22ed.css(97): eval() #2 /home/j4nfx5nz48jr/public_html/wp-config.php(5): include_once(‘/home/j4nfx5nz4…’) #3 /home/j4nfx5nz48jr/public_html/wp-load.php(50): require_once(‘/home/j4nfx5nz4…’) #4 /home/j4nfx5nz48jr/public_html/wp-admin/admin.php(34): require_once(‘/home/j4nfx5nz4…’) #5 /home/j4nfx5nz48jr/public_html/wp-admin/nav-menus.php(13): require_once(‘/home/j4nfx5nz4…’) #6 {main} thrown in /home/j4nfx5nz48jr/public_html/wp-includes/blocks/site-tagline/.52da22ed.css(97) : eval()’d code on line 4
I’m getting this error when trying to add an item to the WordPress menu.
Hello there,
It doesn’t seem like the same issue reported here and I’m not entire sure that it is related to WPML. Could you please open a chat in our assistance channel? In that way we will be able to investigate it better.