Skip Navigation

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.

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by Mateus Getulio 1 year, 8 months ago.

Assisted by: Mateus Getulio.

Author Posts
August 2, 2023 at 7:57 pm #14144629

rolandT-8

Tell us what you are trying to do? Try to login to my Admin page, but is not possible. In the recovery mode I can login to my Dashboard and there the problem was to see on my screen.

WPML Multilingual CMS | Documentation | WPML 4.6.4 release notes

Version 4.6.4 | By OnTheGoSystems | View details
This plugin failed to load properly and is paused during recovery mode.

An error of type E_ERROR was caused in line 3937 of the file /var/www/vhosts/skyroofslider.com/httpdocs/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php. Error message: Uncaught TypeError: Illegal offset type in isset or empty in /var/www/vhosts/skyroofslider.com/httpdocs/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php:3937 Stack trace: #0 /var/www/vhosts/skyroofslider.com/httpdocs/wp-content/plugins/sitepress-multilingual-cms/classes/translations/class-wpml-post-element.php(54): SitePress->is_display_as_translated_post_type() #1 /var/www/vhosts/skyroofslider.com/httpdocs/wp-content/plugins/sitepress-multilingual-cms/classes/url-handling/wpml-url-filters.class.php(445): WPML_Post_Element->is_display_as_translated() #2 /var/www/vhosts/skyroofslider.com/httpdocs/wp-content/plugins/sitepress-multilingual-cms/classes/url-handling/wpml-url-filters.class.php(238): WPML_URL_Filters->is_display_as_translated_mode() #3 /var/www/vhosts/skyroofslider.com/httpdocs/wp-includes/class-wp-hook.php(310): WPML_URL_Filters->permalink_filter() #4 /var/www/vhosts/skyroofslider.com/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters() #5 /var/www/vhosts/skyroofslider.com/httpdocs/wp-includes/link-template.php(371): apply_filters() #6 /var/www/vhosts/skyroofslider.com/httpdocs/wp-includes/link-template.php(201): get_post_permalink() #7 /var/www/vhosts/skyroofslider.com/httpdocs/wp-content/plugins/google-site-kit/includes/Core/Assets/Assets.php(1099): get_permalink() #8 /var/www/vhosts/skyroofslider.com/httpdocs/wp-content/plugins/google-site-kit/includes/Core/Assets/Assets.php(728): Google\Site_Kit\Core\Assets\Assets->get_product_base_paths() #9 /var/www/vhosts/skyroofslider.com/httpdocs/wp-content/plugins/google-site-kit/includes/Core/Assets/Assets.php(357): Google\Site_Kit\Core\Assets\Assets->get_inline_base_data() #10 [internal function]: Google\Site_Kit\Core\Assets\Assets->Google\Site_Kit\Core\Assets\{closure}() #11 /var/www/vhosts/skyroofslider.com/httpdocs/wp-content/plugins/google-site-kit/includes/Core/Assets/Script_Data.php(51): call_user_func() #12 [internal function]: Google\Site_Kit\Core\Assets\Script_Data->Google\Site_Kit\Core\Assets\{closure}() #13 /var/www/vhosts/skyroofslider.com/httpdocs/wp-content/plugins/google-site-kit/includes/Core/Assets/Asset.php(129): call_user_func() #14 /var/www/vhosts/skyroofslider.com/httpdocs/wp-content/plugins/google-site-kit/includes/Core/Assets/Assets.php(1017): Google\Site_Kit\Core\Assets\Asset->before_print() #15 /var/www/vhosts/skyroofslider.com/httpdocs/wp-content/plugins/google-site-kit/includes/Core/Assets/Assets.php(1026): Google\Site_Kit\Core\Assets\Assets->run_before_print_callbacks() #16 /var/www/vhosts/skyroofslider.com/httpdocs/wp-content/plugins/google-site-kit/includes/Core/Assets/Assets.php(1026): Google\Site_Kit\Core\Assets\Assets->run_before_print_callbacks() #17 /var/www/vhosts/skyroofslider.com/httpdocs/wp-content/plugins/google-site-kit/includes/Core/Assets/Assets.php(1026): Google\Site_Kit\Core\Assets\Assets->run_before_print_callbacks() #18 /var/www/vhosts/skyroofslider.com/httpdocs/wp-content/plugins/google-site-kit/includes/Core/Assets/Assets.php(156): Google\Site_Kit\Core\Assets\Assets->run_before_print_callbacks() #19 /var/www/vhosts/skyroofslider.com/httpdocs/wp-includes/class-wp-hook.php(308): Google\Site_Kit\Core\Assets\Assets->Google\Site_Kit\Core\Assets\{closure}() #20 /var/www/vhosts/skyroofslider.com/httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #21 /var/www/vhosts/skyroofslider.com/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #22 /var/www/vhosts/skyroofslider.com/httpdocs/wp-admin/admin-header.php(146): do_action() #23 /var/www/vhosts/skyroofslider.com/httpdocs/wp-admin/index.php(137): require_once('...') #24 {main} thrown

Is there a similar example that we can see?

What is the link to your site? hidden link

Fatal Error WPML.png
August 2, 2023 at 9:32 pm #14144901

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

This issue has been already reported and it is in our track. Basically this happens if you update your Site Kit by Google plugin to 1.106. We're still investigating it, and as soon as possible we will provide a fix.

In the meantime, the recommendation is to downgrade to the previous version of Google Site Kit.

Please check the errata page: https://wpml.org/errata/site-kit-by-google-uncaught-typeerror-illegal-offset-type-in-isset-or-empty-in/

Link to v1.105: hidden link

In this thread they also recommend: navigate to “WPML > Settings > Post Types” and then set the post type Products to “Translatable – only show translated items“.:

https://wordpress.org/support/topic/after-upgrade-issue-with-wpml/

If you want to also give it a try, but again, our main recommendation is to downgrade your Site Kit version for now. Google Site Kit also recommends it - they have published a related sticky support ticket: https://wordpress.org/support/topic/conflict-between-wpml-4-6-4-and-site-kit-1-106-0/

Please stay tuned for our updates on this matter. Thank you.

August 7, 2023 at 2:02 pm #14164327

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

Thanks for your patience.

For your information, today we've released WPML 4.6.5, which includes one more check on our side to prevent this kind of error.

Therefore, in order to solve this issue, please update WPML by going to Plugins -> Add New -> Commercial tab (you might need to click on the 'check updates' button).

Or you can download it directly from here: https://wpml.org/account/downloads/, and upload into your Plugins -> Add New page (it'll overwrite the current version installed without problems).

Just make sure to have a backup before doing that.

Looking forward to your reply. Thank you.

August 7, 2023 at 2:21 pm #14164495

rolandT-8

Hi There,

So, when it is update to 4.6.5, then i can also update Google Site Kit?

August 7, 2023 at 8:01 pm #14166151

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

That is correct, it should be all fine to update Google Site Kit as well.

Please give it a try and let us know how it goes. Thank you.