I’m getting this error when I’m testing a member sign up on my Wordpress site through a plugin called Memberpress.
Fatal error : Uncaught ValueError: Path cannot be empty
This is the stack trace that I’m getting:
Fatal error : Uncaught ValueError: Path cannot be empty in /home1/rocyour1/public_html/wp-content/plugins/memberpress/app/controllers/MeprUsersCtrl.php:389 Stack trace: #0 /home1/rocyour1/public_html/wp-content/plugins/memberpress/app/controllers/MeprUsersCtrl.php(389): get_headers(’’) #1 /home1/rocyour1/public_html/wp-content/plugins/memberpress/app/models/MeprUser.php(949): MeprUsersCtrl::validate_extra_profile_fields(NULL, NULL, NULL, true, Object(MeprProduct)) #2 /home1/rocyour1/public_html/wp-content/plugins/memberpress/app/controllers/MeprCheckoutCtrl.php(271): MeprUser::validate_signup(Array, Array) #3 /home1/rocyour1/public_html/wp-content/plugins/memberpress/app/controllers/MeprAppCtrl.php(840): MeprCheckoutCtrl->process_signup_form() #4 /home1/rocyour1/public_html/wp-includes/class-wp-hook.php(303): MeprAppCtrl::parse_standalone_request(’’) #5 /home1/rocyour1/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array) #6 /home1/rocyour1/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #7 /home1/rocyour1/public_html/wp-settings.php(578): do_action(‘init’) #8 /home1/rocyour1/public_html/wp-config.php(103): require_once(’/home1/rocyour1…’) #9 /home1/rocyour1/public_html/wp-load.php(50): require_once(’/home1/rocyour1…’) #10 /home1/rocyour1/public_html/wp-blog-header.php(13): require_once(’/home1/rocyour1…’) #11 /home1/rocyour1/public_html/index.php(17): require(’/home1/rocyour1…’) #12 {main} thrown in /home1/rocyour1/public_html/wp-content/plugins/memberpress/app/controllers/MeprUsersCtrl.php on line 389