• Resolved tisp

    (@tisp)


    Whenever I try to edit a published page, I get the following error:

    “Sorry, the content area was not found in your page.
    You must call ‘the_content’ function in the current template, in order for Elementor to work on this page”

    This happens on all pages but the start page. When I un-publish a page I can edit it with Elementor until it is published again.

    I just did a complete fresh installation of WordPress and Elementor. I also tried different themes, but the problems stays.

    Any ideas?

    Wordpress 5.2.3
    Elementor v2.7.1

    Server Invironment:
    Operating System: Linux
    Software: nginx/1.15.8
    MySQL version: Debian 9.8 v5.6.42-84.2
    PHP Version: 7.2.19-0ubuntu0.18.04.2
    PHP Max Input Vars: 1000
    PHP Max Post Size: 2047M
    GD Installed: Yes
    ZIP Installed: Yes
    Write Permissions: All right
    Elementor Library: Connected

    Wordpress Invironment:
    Version: 5.2.3
    Site URL: https://xxx
    Home URL: https://xxx
    WP Multisite: No
    Max Upload Size: 2 GB
    Memory limit: 256M
    Permalink Structure: /blog/%postname%/
    Language: de-DE
    Timezone: Europe/Berlin
    Admin Email: xxxxx
    Debug Mode: Inactive

    • This topic was modified 5 years, 2 months ago by tisp.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter tisp

    (@tisp)

    I solved this problem. There was a wrong/missing configuration setting in our nginx server.

    The “$args” parameter was missing:

    location / {
        try_files $uri $uri/ index.php$args;
    }

    @tisp thanks for the solution.

    will just point out (for future people : ) that there’s probably a typo

    this

    location / {
        try_files $uri $uri/ index.php$args;
    }

    should probably be like this (note the question mark)

    location / {
        try_files $uri $uri/ index.php?$args;
    }
    • This reply was modified 5 years, 1 month ago by giuspe. Reason: better clarity
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cannot edit _published_ pages with Elementor’ is closed to new replies.