Home Forums WoodMart support forum Fatal Error related to WPML + Woodmart Theme

Fatal Error related to WPML + Woodmart Theme

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #344599

    ammarket
    Participant

    Hi there… We are working a lot of hours on our website, so we are about to launch it.

    Today we’ve got an error when updating WPML plugin:
    “WPML_Elementor_Module_With_Items” not found in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/woodmart/inc/integrations/wpml/class-wpml-elementor-wd-testimonials.php:11
    Stack trace:
    #0 /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/woodmart/inc/classes/Theme.php(185): require_once()
    #1 /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/woodmart/inc/classes/Theme.php(24): WOODMART_Theme->general_files_include()
    #2 /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/woodmart/functions.php(77): WOODMART_Theme->__construct()
    #3 /var/www/vhosts/mywebsite.com/httpdocs/wp-settings.php(546): include(‘…’)
    #4 /var/www/vhosts/mywebsite.com/httpdocs/wp-config.php(78): require_once(‘…’)
    #5 /var/www/vhosts/mywebsite.com/httpdocs/wp-load.php(50): require_once(‘…’)
    #6 /var/www/vhosts/mywebsite.com/httpdocs/wp-admin/admin.php(34): require_once(‘…’)
    #7 /var/www/vhosts/mywebsite.com/httpdocs/wp-admin/plugins.php(10): require_once(‘…’)
    #8 {main}
    thrown

    This guy here is getting the same problem:
    https://xtemos.com/forums/topic/wpml-broke-the-site/

    He shared a solution:
    https://wpml.org/errata/woodmart-updating-to-wpml-4-5-results-in-fatal-error/

    I have managed to detect the problem and find a temporary solution to this problem:
    I deactivated the WPML Multilingual CMS and the website is now live again. But I need to find a solution to that issue.

    I will share with you (in the private area) my original and modified Theme.php file, so please, help us to determine a solution for that problem (following the solution proposed here: https://wpml.org/errata/woodmart-updating-to-wpml-4-5-results-in-fatal-error/).

    Thank you so much…

    #344600

    ammarket
    Participant

    I will answer myself here: I uploaded my Theme_changed.php to the server.

    Let me explain: I kept the original file (Theme.php) on the webserver (but I renamed it to Theme_orig.php)

    Then, I uploaded the changed Theme.php file to the server (Theme_changed.php). When loaded, I changed its name to Theme.php and I refreshed the website. Result: Website broken…

    So, the solution proposed here:https://wpml.org/errata/woodmart-updating-to-wpml-4-5-results-in-fatal-error/ is not working in my case…

    Please, help us to find a solution. Thank you so much…

    #344823

    Hello,

    Please make the full backup of your site and update the theme till the recent version. If it does not solve the problem, insert the site credentials and FTP access into the Private content below the message area.

    Best Regards

    #348018

    ammarket
    Participant

    I already solved the problem. You can close this thread now. Thank you for your assistance.

    #348116

    If you have any questions please feel free to contact us.

    Best Regards

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Fatal Error related to WPML + Woodmart Theme’ is closed to new replies.