Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1244168

    Hi, we’re having trouble getting the Layout Builder to load when we try to edit an existing page. When creating new pages, though the builder does load initially, it eventually gets stuck on loading as you try to save your progress.

    We are getting the follow error in the Console: Failed to load resource: the server responded with a status of 404 (Not Found) /wp-admin/admin-ajax.php:1

    Based on similar forum posts, we’ve tried the following things but have been unable to solve the problem:
    1. update to the latest version of the enfold theme
    2. disable plugins one by one and test builder
    3. adding the following code (https://kriesi.at/support/topic/editor-avia-dont-work-with-new-version-of-wordpress/):
    // disable for posts
    add_filter(‘use_block_editor_for_post’, ‘__return_false’, 10);
    // disable for post types
    add_filter(‘use_block_editor_for_post_type’, ‘__return_false’, 10);

    4. contact hosting provider to check if wp-admin/admin-ajax.php is being blocked by mod_security rules. Provider replied saying that there’s no blocking of any kind going on and sent us the following image [see private content]

    5. We downloaded a copy of the site using the All-in-One WP Migration plugin and installed it locally. The builder didn’t give us any errors on the local install. Since we needed to add a new page to the site ASAP, we edited the site locally and then imported the updated site to the live site using the same plugin. The builder on the live site is still giving us the same 404 error.

    Hope you can help us figure this one out.

    Thank you!

    #1244258

    Hey eperr,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
      ( to be sure that we have enough time to debug ).
    5. Click ” Submit “.
    6. You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.

    When your issue is fixed, you can always remove the plugin!
    If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.

    Best regards,
    Nikko

    #1244391

    Hi Nikko,
    Thanks for the quick reply. I’ve created the temporary login.

    Thanks for the help!

    #1244657

    Hi eperr,

    Thanks for giving us admin access.
    I have checked it and it seems hard to troubleshoot without trying to disable plugins and maybe do some tweaks in the files for testing.
    Can you try to create a staging site for us where we can try to isolate the issue without affecting your live site?
    Here’s a simple tutorial that should help in creating one: https://themeisle.com/blog/wordpress-staging-site/
    I also tried to check similar issues but all seems to point to having mod_security blocked, so I think we’ll need to check further.

    Best regards,
    Nikko

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.