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
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Tagged: 

This topic contains 8 replies, has 2 voices.

Last updated by Long Nguyen 2 months ago.

Assisted by: Long Nguyen.

Author Posts
September 21, 2023 at 6:56 am #14434821

binayahR-2

PHP Fatal error: Uncaught Error: Class 'WPMLMediaFactoriesWPML_Media_Attachment_By_URL_Query_Factory' not found in .../wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/media/class-wpml-elementor-update-media-factory.php:28

September 21, 2023 at 7:26 am #14435007

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Here is the forum ticket. Let me know the result after re-installing WPML on your site.

Thanks.

September 22, 2023 at 6:09 am #14443445

binayahR-2

Hi again, I just want to know the best way to update this plugin. Need suggestion!

September 22, 2023 at 6:48 am #14443649

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

There are two ways to update WPML plugin on your site:

1. Go to Plugins > Add New > Commercial tab > Check for updates and update plugin. Refer documentation https://wpml.org/faq/install-wpml/#checking-for-updates

2. Or go to the Downloads page > Click on Download WPML manually > Download a fresh copy of WPML plugin > Install it on your site.

Both ways should work. I recommend using the first one to update other WPML plugins.

Look forward to your reply.
Thanks

September 22, 2023 at 7:07 am #14443715

binayahR-2

Hi yes I update WPML plugin but when I swatch language from language switcher then it shows 500 Internal server error issue on the site but when we refresh the page it come back again. I don't know what is the exact issue but my end conclusion is something fishy with WPML Plugin.

September 22, 2023 at 7:40 am #14444033

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated. Your next reply is set to private to share the info.

❌ IMPORTANT: Please backup your database and website before proceeding ❌
You can use this plugin to create the backup: https://wordpress.org/plugins/duplicator/
✙ I would need your permission to de-activate and re-activate Plugins and the Theme to change configurations on the site if needed. This is also a reason the backup is critical.

Look forward to your reply.
Thanks

September 22, 2023 at 9:49 am #14445843

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

I see the translation page displays properly, here is a screenshot hidden link

I also do not see the fatal error in the debug log "Uncaught Error: Class 'WPMLMediaFactoriesWPML_Media_Attachment_By_URL_Query_Factory' not found in ..."

Just some notice errors related to the Houzez child theme and plugin Easy Json Shortcode. You can try to deactivate them and recheck the issue.

Also, if you see the main issue of this ticket with the fatal error resolved, please mark it as Resolved. Feel free to create a new ticket if you have more questions.

Thanks.

September 24, 2023 at 7:33 am #14451667

binayahR-2

Hi Long still no luck to resolve this 500 internal server error and I checked it caused when we use language switcher to change the site language. Please help to sort out this issue. as this issue causing us a-lot of trouble and our site traffic goes down on daily basis.

September 25, 2023 at 1:34 am #14454195

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

I made another screen record on my end, here is the URL
hidden link

I don't see that issue, the site is loading properly when switching to the Russian language. Maybe a caching issue on your end, please try to clear all caches (browser, plugin, hosting ...) and recheck this.

You can also check the debug log or contact your hosting support and ask them to check the server log when you see the issue.

Look forward to your reply.
Thanks

The topic ‘[Closed] I got a fatal error related to WPML’ is closed to new replies.