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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 -
- 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 -

Supporter timezone: Asia/Dhaka (GMT+06:00)

This topic contains 5 replies, has 2 voices.

Last updated by Prosenjit Barman 8 months, 1 week ago.

Assisted by: Prosenjit Barman.

Author Posts
August 18, 2023 at 3:20 pm #14253413

viajes-flandriaS

Fatal error: Uncaught TypeError: WPML_Media_Translations_UI::__construct(): Argument #3 ($wp_locale) must be of type WP_Locale, WPML\ST\MO\WPLocaleProxy given, called in /var/www/vhosts/almanatour.com/httpdocs/wp-content/plugins/wpml-media-translation/classes/menus/wpml-media-menus.php on line 89 and defined in /var/www/vhosts/almanatour.com/httpdocs/wp-content/plugins/wpml-media-translation/classes/menus/wpml-media-translations-ui.php:43 Stack trace: #0 /var/www/vhosts/almanatour.com/httpdocs/wp-content/plugins/wpml-media-translation/classes/menus/wpml-media-menus.php(89): WPML_Media_Translations_UI->__construct() #1 /var/www/vhosts/almanatour.com/httpdocs/wp-content/plugins/wpml-media-translation/classes/class-wpml-media.php(361): WPML_Media_Menus->display() #2 /var/www/vhosts/almanatour.com/httpdocs/wp-includes/class-wp-hook.php(310): WPML_Media->menu_content() #3 /var/www/vhosts/almanatour.com/httpdocs/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #4 /var/www/vhosts/almanatour.com/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /var/www/vhosts/almanatour.com/httpdocs/wp-admin/admin.php(259): do_action() #6 {main} thrown in /var/www/vhosts/almanatour.com/httpdocs/wp-content/plugins/wpml-media-translation/classes/menus/wpml-media-translations-ui.php on line 43
There has been a critical error on this website. Please check your site admin email inbox for instructions.

August 19, 2023 at 8:07 am #14255731

viajes-flandriaS

Please, I need asistance

August 19, 2023 at 8:11 am #14255733

viajes-flandriaS

though: a new link will be emailed to you if the error occurs again after it expires.

When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.3
Active theme: TravelTour (version 5.1.4)
Current plugin: WPML Media (version 2.7.3)
PHP version 8.0.30

August 19, 2023 at 8:12 am #14255735

viajes-flandriaS

WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

In this case, WordPress caught an error with one of your plugins, WPML Media.

First, visit your website (hidden link) and check for any visible issues. Next, visit the page where the error was caught (hidden link) and check for any visible issues.

Please contact your host for assistance with investigating this issue further.

If your site appears broken and you can't access your dashboard normally, WordPress now has a special "recovery mode". This lets you safely login to your dashboard and investigate further.

hidden link

To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.3
Active theme: TravelTour (version 5.1.4)
Current plugin: WPML Media (version 2.7.3)
PHP version 8.0.30

August 21, 2023 at 5:46 am #14259695

viajes-flandriaS

Hi. There,

Please I need asistance.
Thank you

August 21, 2023 at 7:53 am #14260441

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support. I will try my best to assist you in this matter.

Could you please share the WPML Debug info of your site so that I can get a better understanding of your site and system? You can check this article to understand the process of sharing debug info: https://wpml.org/faq/provide-debug-information-faster-support/

I enabled the required field to share the debug info that you can see while leaving your next response.

From the error log, I can see that the fatal errors are originating from the Media Translation plugin. This might be the result of a conflict between the theme or other plugins and the Media Translation plugin. Would you please check by running a conflict test on your site?

Prior to making any changes, take a full backup of the entire website to ensure data safety.

- Switch to a default theme such as Twenty-twentyone and check if the issue persists in this configuration.
- If switching to the default theme resolves the issue, it indicates that there might be a problem with the current theme. In such a case, it is recommended to get in touch with the theme author to discuss and investigate the issue further.
- However, if the problem still persists even after switching to the default theme, deactivating all plugins except for WPML and Media Translation.
- If the issue is resolved after deactivating the plugins, start activating the plugin one by one, and after activating each, check when the issue reappears again on the site.

In this way, you'll be able to pinpoint the one that is causing issues with the Media translation plugin. Please let me know how it goes. I will be happy to help if you need further assistance in this matter.

Best Regards,
Prosenjit

The topic ‘[Closed] The link to any product on my website does not work in any language’ is closed to new replies.