ื“ืœื’ ืขืœ ื ื™ื•ื•ื˜

Open

Reported for: WPML Multilingual CMS 4.6.15

Topic Tags: Compatibility

Overview of the issue

When attempting to create a new page directly from the Elementor Builder, the action fails and results in a 404 error instead of loading the new page.

Workaround

Please, make sure of having a full site backup of your site before proceeding.

  • Edit your theme's functions.php file.
  • Add the following snippet:
    //compsupp_7780 workaround
    add_action( 'elementor/document/after_save', 'compsupp_7780_after_document_save' );
     
    function compsupp_7780_after_document_save( $document ) {
     
        $wpml_page_id = $document->get_post()->ID;
        wp_update_post(array('ID' => $wpml_page_id));
     
        return $document;
    }
    

2 ืชื’ื•ื‘ื•ืช ืืœ “Elementor - Unable to Add New Page Using Elementor Builder”

ื”ืฉืืจ ืžืขื ื”

ืื ื ื”ื™ืฉืืจื• ื‘ื ื•ืฉื ื•ื”ื™ื• ืžื›ื‘ื“ื™ื ืœืื—ืจื™ื. ืื ืืชื” ืฆืจื™ืš ืขื–ืจื” ื‘ื‘ืขื™ื•ืช ืฉืื™ื ืŸ ืงืฉื•ืจื•ืช ืœืคื•ืกื˜ ื”ื–ื”, ื”ืฉืชืžืฉ ื‘ืคื•ืจื•ื ื”ืชืžื™ื›ื” ืฉืœื ื• ื›ื“ื™ ืœื”ืชื—ื™ืœ ืฆ'ืื˜ ืื• ืœืฉืœื•ื— ื›ืจื˜ื™ืก.

ืชื•ื›ืœ ืœื”ืฉืชืžืฉ ื‘ืชื’ื™ื ื”ื‘ืื™ื:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>