sotirisR
hi, when I'm trying to connect to the backend of my site ( mersimeri.gr ) I get error.
In the emial I received it says I have problem with WPML Multilingual CMS
details here
Λεπτομέρειες σφάλματος
===========================================
Ένα σφάλμα τύπου E_ERROR εντοπίστηκε στη γραμμή 3937 του αρχείου /var/www/vhosts/mesimeri.gr/httpdocs/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php. Κωδικός σφάλματος: Uncaught TypeError: Illegal offset type in isset or empty in /var/www/vhosts/mesimeri.gr/httpdocs/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php:3937
Stack trace:
#0 /var/www/vhosts/mesimeri.gr/httpdocs/wp-content/plugins/sitepress-multilingual-cms/classes/translations/class-wpml-post-element.php(54): SitePress->is_display_as_translated_post_type(Object(WP_Error))
#1 /var/www/vhosts/mesimeri.gr/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/mesimeri.gr/httpdocs/wp-content/plugins/sitepress-multilingual-cms/classes/url-handling/wpml-url-filters.class.php(238): WPML_URL_Filters->is_display_as_translated_mode(Object(WPML_Post_Element))
#3 /var/www/vhosts/mesimeri.gr/httpdocs/wp-includes/class-wp-hook.php(310): WPML_URL_Filters->permalink_filter('hidden link ...', Object(WP_Post))
#4 /var/www/vhosts/mesimeri.gr/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters('hidden link ...', Array)
#5 /var/www/vhosts/mesimeri.gr/httpdocs/wp-includes/link-template.php(371): apply_filters('post_type_link', 'hidden link ...', Object(WP_Post), false, false)
#6 /var/www/vhosts/mesimeri.gr/httpdocs/wp-includes/link-template.php(201): get_post_permalink(Object(WP_Post), false, false)
#7 /var/www/vhosts/mesimeri.gr/httpdocs/wp-content/plugins/google-site-kit/includes/Core/Assets/Assets.php(1099): get_permalink(Object(WP_Post))
#8 /var/www/vhosts/mesimeri.gr/httpdocs/wp-content/plugins/google-site-kit/includes/Core/Assets/Assets.php(728): GoogleSite_KitCoreAssetsAssets->get_product_base_paths()
#9 /var/www/vhosts/mesimeri.gr/httpdocs/wp-content/plugins/google-site-kit/includes/Core/Assets/Assets.php(357): GoogleSite_KitCoreAssetsAssets->get_inline_base_data()
#10 [internal function]: GoogleSite_KitCoreAssetsAssets->GoogleSite_KitCoreAssets{closure}('googlesitekit-b...')
#11 /var/www/vhosts/mesimeri.gr/httpdocs/wp-content/plugins/google-site-kit/includes/Core/Assets/Script_Data.php(51): call_user_func(Object(Closure), 'googlesitekit-b...')
#12 [internal function]: GoogleSite_KitCoreAssetsScript_Data->GoogleSite_KitCoreAssets{closure}('googlesitekit-b...')
#13 /var/www/vhosts/mesimeri.gr/httpdocs/wp-content/plugins/google-site-kit/includes/Core/Assets/Asset.php(129): call_user_func(Object(Closure), 'googlesitekit-b...')
#14 /var/www/vhosts/mesimeri.gr/httpdocs/wp-content/plugins/google-site-kit/includes/Core/Assets/Assets.php(1017): GoogleSite_KitCoreAssetsAsset->before_print()
#15 /var/www/vhosts/mesimeri.gr/httpdocs/wp-content/plugins/google-site-kit/includes/Core/Assets/Assets.php(1026): GoogleSite_KitCoreAssetsAssets->run_before_print_callbacks(Object(WP_Scripts), Array)
#16 /var/www/vhosts/mesimeri.gr/httpdocs/wp-content/plugins/google-site-kit/includes/Core/Assets/Assets.php(1026): GoogleSite_KitCoreAssetsAssets->run_before_print_callbacks(Object(WP_Scripts), Array)
#17 /var/www/vhosts/mesimeri.gr/httpdocs/wp-content/plugins/google-site-kit/includes/Core/Assets/Assets.php(1026): GoogleSite_KitCoreAssetsAssets->run_before_print_callbacks(Object(WP_Scripts), Array)
#18 /var/www/vhosts/mesimeri.gr/httpdocs/wp-content/plugins/google-site-kit/includes/Core/Assets/Assets.php(156): GoogleSite_KitCoreAssetsAssets->run_before_print_callbacks(Object(WP_Scripts), Array)
#19 /var/www/vhosts/mesimeri.gr/httpdocs/wp-includes/class-wp-hook.php(308): GoogleSite_KitCoreAssetsAssets->GoogleSite_KitCoreAssets{closure}('')
#20 /var/www/vhosts/mesimeri.gr/httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#21 /var/www/vhosts/mesimeri.gr/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#22 /var/www/vhosts/mesimeri.gr/httpdocs/wp-admin/admin-header.php(146): do_action('admin_print_scr...')
#23 /var/www/vhosts/mesimeri.gr/httpdocs/wp-admin/index.php(137): require_once('/var/www/vhosts...')
#24 {main}
thrown
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.