Fatal error – cannot load wp-load.php in class.fileaway_downloader.php
-
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)
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.