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.

This topic contains 4 replies, has 2 voices.

Last updated by Marcos Vinicios Barreto 6 months, 4 weeks ago.

Assigned support staff: Marcos Vinicios Barreto.

Author Posts
November 17, 2020 at 9:24 am #7464283

mariaE-3

Likely caused by a very old WPML version

November 18, 2020 at 10:10 am #7473777

mariaE-3

I'm trying to update WPML version 4.2 to 4.4.5 and I get the following error: Fatal error: Uncaught Error: Call to undefined function WPML \ Container \ share () in /var/www/vhosts/indho.yourconceptgroup.com/ httpdocs / wp- content / plugins / sitepress-multilingual-cms / sitepress.php: 172 Stack trace: # 0 /var/www/vhosts/indho.yourconceptgroup.com/httpdocs/wp-admin/includes/plugin.php (2255): include () # 1 /var/www/vhosts/indho.yourconceptgroup.com/httpdocs/wp-admin/plugins.php(177): plugin_sandbox_scrape ('sitepress-multi ...') # 2 {main } released at / var / www / vhosts / indho.yourconceptgroup.com / httpdocs / wp-content / plugins / sitepress-multilingual-cms / sitepress.php on line 172

November 20, 2020 at 12:20 am #7488857

Marcos Vinicios Barreto
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Bahia (GMT-03:00)

Hello,

Thank you for contacting our support service. Instead of jumping directly from the WPML 4.2.0 version, please, donwload the 4.2.8 version from your wpml.org account, specifically at: https://wpml.org/download/wpml-multilingual-cms/?section=changelog and install it to your WordPress Dashboard. You can follow these steps:

IMPORTANT: Please, note, a backup is required for security reasons and to avoid any data loss, you can use the https://wordpress.org/plugins/backupwordpress/ plugin for these backup needs.

1 - From your WordPress Dashboard > Plugins keep all the WPML related plugins deactivated, then deactivate and delete the 'WPML Multilingual CMS' plugin.

2 - Login at your wpml.org account, spefically at: https://wpml.org/download/wpml-multilingual-cms/?section=changelog then download the zip folder for the 4.2.8 version.

3 - Back at your WordPress Dashboard > Plugins > Add New settings, upload the downloaded zip folder for the 4.2.8 version.

4 - Once done, you should be able to update to the most recent version according our instructions at: https://wpml.org/faq/install-wpml/#wpml-4-2-8

Please, let me know if it helps, have a nice day.

November 24, 2020 at 11:16 am #7516083

mariaE-3

not works.

Fatal error: Uncaught Error: Call to undefined function WPML\Container\share() in /var/www/vhosts/indho.yourconceptgroup.com/httpdocs/wp-content/plugins/sitepress-multilingual-cms/sitepress.php:172 Stack trace: #0 /var/www/vhosts/indho.yourconceptgroup.com/httpdocs/wp-admin/includes/plugin.php(2255): include() #1 /var/www/vhosts/indho.yourconceptgroup.com/httpdocs/wp-admin/plugins.php(177): plugin_sandbox_scrape('sitepress-multi...') #2 {main} thrown in /var/www/vhosts/indho.yourconceptgroup.com/httpdocs/wp-content/plugins/sitepress-multilingual-cms/sitepress.php on line 172

November 25, 2020 at 2:24 am #7521205

Marcos Vinicios Barreto
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Bahia (GMT-03:00)

Hello,

Thank you for the updates. To best troubleshoot the issue, please make a snapshot of your site using the Duplicator plugin: https://wordpress.org/plugins/duplicator/. This will allow me to try and duplicate the error so that I can run further tests without interrupting your live site.

Once the snapshot is complete, either upload the snapshot ZIP file and the installer.php file to a file sharing service such as Dropbox (and share the link in your reply) or right click the Duplicator links in your wp-admin and paste in your reply.
Please note: It is important to reduce the size of the package so please exclude some paths like /cache or /uploads and also exclude archives and media files.I will also need the username and password of an account that was created BEFORE creating the duplicator package.I will enable the next reply to be private so only you and I have access to it!

Thank you for your collaboration. Have a nice day.

The topic ‘[Closed] Uncaught Error: Call to undefined function WPMLContainershare() in’ is closed to new replies.