• We are using the Bedrock stack as WordPress install.

    Such stack is placing WordPress in a specific folder (wp).

    With WordPress in a different folder structure, the require fails in your class.fileaway_downloader.php :

    require_once($parse_uri[0].'/wp-load.php');

    As a quick fix I solved it with :

    require_once('../../../../../wp/wp-load.php');

    But I think including wp-load.php isn’t the correct way to implement Ajax in WordPress anymore, what do you think?

Viewing 1 replies (of 1 total)
  • Plugin Author thomstark

    (@thomstark)

    It’s not ajax or anything to do with ajax, but there’s a better way to do the pushed downloads than I’m doing there. In the meantime, your fix is fine.

Viewing 1 replies (of 1 total)

The topic ‘Fatal error – cannot load wp-load.php in class.fileaway_downloader.php’ is closed to new replies.