I’m experiencing the same issue. We’re using Roots Bedrock which keeps WordPress in its own directory.
Please make use of ABSPATH so that instances such as this:
require_once dirname(__FILE__) . '/../../../../../../wp-load.php';
are more like this:
require_once( ABSPATH . "/wp-load.php" );