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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Los_Angeles (GMT-07:00)

Tagged: 

This topic contains 5 replies, has 2 voices.

Last updated by Bobby 10 months, 4 weeks ago.

Assisted by: Bobby.

Author Posts
May 19, 2023 at 9:50 pm #13681545

husamJ

Fatal PHP error reported by my hosting provider:

Fatal error: Uncaught Error: Call to undefined function simplexml_load_file() in /mnt/stor2-wc1-dfw1/393938/549448/www.husamjandal.com/web/content/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/installer/includes/class-wp-installer.php:872
Stack trace:
#0 /mnt/stor2-wc1-dfw1/393938/549448/www.husamjandal.com/web/content/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/installer/includes/class-wp-installer.php(92): WP_Installer->load_repositories_list()
#1 /mnt/stor2-wc1-dfw1/393938/549448/www.husamjandal.com/web/content/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/installer/includes/class-wp-installer.php(73): WP_Installer->__construct()
#2 /mnt/stor2-wc1-dfw1/393938/549448/www.husamjandal.com/web/content/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/installer/includes/functions-core.php(6): WP_Installer::instance()
#3 /mnt/stor2-wc1-dfw1/393938/549448/www.husamjandal.com/web/content/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/installer/installer.php(15): WP_Insta in /mnt/stor2-wc1-dfw1/393938/549448/www.husamjandal.com/web/content/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/installer/includes/class-wp-installer.php on line 872

May 20, 2023 at 12:04 am #13681645

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hello,

Please review the following Errata Documentation and try the workaround

https://wpml.org/errata/php-7-possible-issues-simplexml/

Let me know your results, please.

May 20, 2023 at 12:58 pm #13682859

husamJ

Here is the feedback I got from my hosting provider:

-----

I looked into the URL you shared and saw that solution or workaround was to install a PHP package for SimpleXml.

I then checked the PHP version assigned to your website, which is PHP 7.4, to see whether the PHP module for the SimpleXML support was enabled.

I can confirm that SimpleXml support is already enabled for your PHP version. I've attached a screenshot showing this on the PHP info page. Please find it.

So you can let the plugin developer know that SimpleXml is already supported by the PHP version used by the website.

-----

Screenshot 2023-05-20 122533.jpg
May 22, 2023 at 5:37 pm #13693287

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

I would like to request temporary access (wp-admin and FTP) to your site to test the issue.
(preferably to a test site where the problem has been replicated if possible)

**Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken **

I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/
You will find the needed fields for this below the comment area when you log in to leave your next reply.
The information you enter is private which means only you and I have access to it.

NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin.

Thank you,
Bobby

May 25, 2023 at 11:52 am #13715821

husamJ

Hi there. I am migrating the website to a different server to see if that would resolve the problem. I will let you know the outcome in the next couple of days. Thanks.

May 25, 2023 at 11:38 pm #13719427

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thank you for updating me!

The topic ‘[Closed] PHP fatal error’ is closed to new replies.