Error applying for jobs
-
Hello. Thanks for the plugin! I ran into an error applying for jobs and this line was the culprit in greenhouse-job-board-apply-submit.php:
require_once(‘../../../../../wp-load.php’);
I changed it to the following and everything works:
if ( defined( ‘ABSPATH’ ) ) {
require_once( ABSPATH . ‘wp-load.php’ );
} else {
require_once( dirname( dirname( __FILE__ ) ) . ‘/wp-load.php’ );
}We have WordPress installed in a subdirectory which may be the problem.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Error applying for jobs’ is closed to new replies.