You are trying to determine wordpress core dir according to line 224 $absolute_path = __FILE__; $path_to_file = explode('wp-content', $absolute_path); $path_to_wp = $path_to_file[0]; //Access WordPress require_once $path_to_wp . '/wp-load.php';
Instead hardcoding 'wp-content' one should utilize the constant WP_CONTENT_DIR since some configuration doesn't use 'wp-content' but 'content' only.
All following comments are shown for registered users only!