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 -
- 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 -

Supporter timezone: Europe/Zagreb (GMT+01:00)

This topic contains 3 replies, has 0 voices.

Last updated by Dražen 1 week, 2 days ago.

Assisted by: Dražen.

Author Posts
January 17, 2025 at 4:56 am #16604359

paulineR-4

Background of the issue:
I am trying to use the WPML Multilingual CMS plugin on my WordPress site. An error of type E_ERROR was caused in line 67 of the file /home/qunqgfqe/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xml-config/class-wpml-xml-config-validate.php. I expected the plugin to work with WordPress v 6.7.1 and PHP v 8.2, but it breaks the site, and I have to disable it for the site to work.

Symptoms:
The site breaks with an error message: Uncaught Error: Class "DOMDocument" not found in /home/qunqgfqe/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xml-config/class-wpml-xml-config-validate.php:67. The error started with PHP v 7.4 and updating to PHP v 8.2 didn't help.

Questions:
Please advise fix.

January 17, 2025 at 7:55 am #16604609

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello,

thanks for contacting us.

If you're experiencing a similar issue where the 'DOMDocument' class cannot be found, we recommend ensuring that the 'php-xml' extension is installed and enabled in your PHP configuration. This extension is necessary for WPML to function correctly as it relies on XML parsing. You may need to contact your hosting provider or refer to your server's documentation to install or enable PHP extensions.

More info:
- https://wpml.org/forums/topic/fatal-erorr-in-line-66-home-mostarin-public_html-ardiaba-ardiawebnew-wp-content/

Regards,
Drazen

January 20, 2025 at 4:35 pm #16614801

paulineR-4

The PHP xml extension has always been installed and enabled. This is not the solution.

January 21, 2025 at 7:39 am #16616535

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello,

1)  In order to expedite handling your support requests, can you please share WPML support debug information from your site.

- To give debug information, login to your site and go to WPML → Support. From there click on the “debug information” link at the bottom of the page.
- Once on the “debug information” page, select the entire content of the text box and copy it.
- Now go back to our support forum, find debug information box and paste it.

More information on the link: https://wpml.org/faq/provide-debug-information-faster-support/

2) Please share with me image from server settings so I can see the extensions is enabled, also please share video of the steps and where and how the issue happens.

Thanks,
Drazen