Elementor issue ‘sorry, the content area was not found in your page’

Elementor issue ‘sorry, the content area was not found in your page’

July 19, 2020

‘Sorry, The Content Area Was Not Found In Your Page’ this issue comes when we click edit with Elementor. This issue mainly occurs due to the following reason:

  • Custom code in theme
  • Adding any plugin shortcode in Elemenotor page or post

Solution for Custom code

Please check WP_Query function used in custom code. The WP_Query function must have wp_reset_postdata function called at the end of the query. Please check example below

<?php
 // The Query
$the_query = new WP_Query( $args );
 
// The Loop
if ( $the_query->have_posts() ) {
    echo '<ul>';
    while ( $the_query->have_posts() ) {
        $the_query->the_post();
        echo '<li>' . get_the_title() . '</li>';
    }
    echo '</ul>';
} else {
    // no posts found
}
/* Restore original Post Data */
wp_reset_postdata();
?>

Below function required at end of query, if its missing Elementor will give error on load.

/* Restore original Post Data */
wp_reset_postdata();

Solution for Adding any plugin shortcode in Elemenotor page or post

If this issue comes after adding shortcode into post or page then disable that plugin and try again. if still issue there try disabling each plugin one by one.

Hope the above solution fixed the problem. if the issue still there then need to review your website code. We are experts in Elementor issue fixing. You may reach us for more information.

Avada Programmer

Hello! We are a group of skilled developers and programmers.

Hello! We are a group of skilled developers and programmers.

We have experience in working with different platforms, systems, and devices to create products that are compatible and accessible.