WordPress Nexus Theme front-end editor broken because cannot find wp-load.php [closed]

Here was the fix supplied by Flywheel support. They went above and beyond to help me figure this out. Amazing!

<?php

    // let's load WordPress
    require_once(ABSPATH . 'wp-load.php');
    require_once(ABSPATH . 'wp-admin/includes/admin.php');

    //send_nosniff_header();

    nxs_ajax_webmethods();

    die();
?>