Error when trying to edit a page with Elementor and WPML enabled

This topic has 3 replies, 2 voices, and was last updated 2 years, 1 months ago ago by Estudio EntreDos

  • Avatar: EntreDos123
    Estudio EntreDos
    Participant
    September 20, 2022 at 22:28

    Hi, I don’t know if I should contact you or elementor support. When I have WPML activated and I try to edit a page with elementor I get a critical error and I get this error detail by email. Thank you.

    Detalles del error
    ==================
    Se ha producido un error del tipo E_ERROR en la línea 22 del archivo /var/www/vhosts/simonettakids.com/httpdocs/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/DataConvert.php. Mensaje de error: Uncaught TypeError: json_decode(): Argument #1 ($json) must be of type string, array given in /var/www/vhosts/simonettakids.com/httpdocs/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/DataConvert.php:22
    Stack trace:
    #0 /var/www/vhosts/simonettakids.com/httpdocs/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/DataConvert.php(22): json_decode()
    #1 /var/www/vhosts/simonettakids.com/httpdocs/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/class-wpml-elementor-data-settings.php(95): WPML\PB\Elementor\DataConvert::unserialize()
    #2 /var/www/vhosts/simonettakids.com/httpdocs/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/class-wpml-elementor-adjust-global-widget-id.php(60): WPML_Elementor_Data_Settings->convert_data_to_array()
    #3 /var/www/vhosts/simonettakids.com/httpdocs/wp-includes/class-wp-hook.php(307): WPML_Elementor_Adjust_Global_Widget_ID->adjust_ids()
    #4 /var/www/vhosts/simonettakids.com/httpdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #5 /var/www/vhosts/simonettakids.com/httpdocs/wp-includes/plugin.php(476): WP_Hook->do_action()
    #6 /var/www/vhosts/simonettakids.com/httpdocs/wp-content/plugins/elementor/core/editor/editor.php(510): do_action()
    #7 /var/www/vhosts/simonettakids.com/httpdocs/wp-includes/class-wp-hook.php(307): Elementor\Core\Editor\Editor->enqueue_scripts()
    #8 /var/www/vhosts/simonettakids.com/httpdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #9 /var/www/vhosts/simonettakids.com/httpdocs/wp-includes/plugin.php(476): WP_Hook->do_action()
    #10 /var/www/vhosts/simonettakids.com/httpdocs/wp-includes/script-loader.php(2156): do_action()
    #11 /var/www/vhosts/simonettakids.com/httpdocs/wp-includes/class-wp-hook.php(307): wp_enqueue_scripts()
    #12 /var/www/vhosts/simonettakids.com/httpdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #13 /var/www/vhosts/simonettakids.com/httpdocs/wp-includes/plugin.php(476): WP_Hook->do_action()
    #14 /var/www/vhosts/simonettakids.com/httpdocs/wp-includes/general-template.php(3042): do_action()
    #15 /var/www/vhosts/simonettakids.com/httpdocs/wp-content/plugins/elementor/includes/editor-templates/editor-wrapper.php(31): wp_head()
    #16 /var/www/vhosts/simonettakids.com/httpdocs/wp-content/plugins/elementor/core/editor/editor.php(322): include(‘…’)
    #17 /var/www/vhosts/simonettakids.com/httpdocs/wp-content/plugins/elementor/core/editor/editor.php(163): Elementor\Core\Editor\Editor->print_editor_template()
    #18 /var/www/vhosts/simonettakids.com/httpdocs/wp-includes/class-wp-hook.php(307): Elementor\Core\Editor\Editor->init()
    #19 /var/www/vhosts/simonettakids.com/httpdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #20 /var/www/vhosts/simonettakids.com/httpdocs/wp-includes/plugin.php(476): WP_Hook->do_action()
    #21 /var/www/vhosts/simonettakids.com/httpdocs/wp-admin/admin.php(419): do_action()
    #22 /var/www/vhosts/simonettakids.com/httpdocs/wp-admin/post.php(12): require_once(‘…’)
    #23 {main}
    thrown

    2 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 21, 2022 at 07:35

    Hello,

    You need to contact the support of plugins mentioned in errors text: sitepress-multilingual-cms and elementor.|

    Regards

    Avatar: EntreDos123
    Estudio EntreDos
    Participant
    September 21, 2022 at 08:05

    Thanks!

  • Viewing 3 results - 1 through 3 (of 3 total)

The issue related to '‘Error when trying to edit a page with Elementor and WPML enabled’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.