Home › Forums › Front-end Issues › Custom Genesis user profile page doesn't load after submit › Reply To: Custom Genesis user profile page doesn't load after submit
You’re right, I’m seeing a conflict with wp-includes/pluggable.php – the last line here:
$status = apply_filters( 'wp_redirect_status', $status, $location );
if ( ! $location )
return false;
$location = wp_sanitize_redirect($location);
if ( !$is_IIS && PHP_SAPI != 'cgi-fcgi' )
status_header($status); // This causes problems on IIS and some FastCGI setups
header("Location: $location", true, $status);
I also accidentally discovered that if I activate the plugin WP User Frontend, then location works and the form successfully reloads.
Not sure what the plugin is doing right compared to my code, but I’ll keep digging. I’m using the get_header
hook in add_action( 'get_header', 'add_acf_form_head', 7 );
but I’ll try calling it before get_header
.
Thanks for your help, I appreciate it.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.