PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

[bug]? gformRedirect is not defined

  1. Using the "gform_post_submission" hook, I'm getting an error, "gformRedirect is not defined" (in firebug).

    The spinner just keeps on going. If I click submit again, it will go through with a confirmation message.

    This only happens when I call:
    wpmu_create_blog( $domain, $path, $title, $user_id, $meta, 1 );

    however, if I use:
    wpmu_signup_blog( $domain, $path, $title, $user_name, $user_email, $meta );

    then there is no issue.

    It's an ajax form if that makes a difference.

    Posted 13 years ago on Friday November 19, 2010 | Permalink
  2. Is this form in a public server that I can take a look at? If not, can you export it and send it to me ?

    Posted 13 years ago on Friday November 19, 2010 | Permalink
  3. I'm not so sure using wpmu_create_blog is the best way. however, calling the other function might be too many extra steps for the end user. Maybe it is the best way but I was just fighting with the stupid thing all day today and I'm not very pleased with my end result.

    The biggest problem is the lack of organization and hooks in wp-signup.php, it's a little disappointing, it's pretty difficult to extend in an agile way. I might have to hack the core to actually get what I need.

    I can package up a test case for you on Monday.

    Posted 13 years ago on Friday November 19, 2010 | Permalink
  4. This bug appeared to be limited to my firefox profile. Testing it in other profiles and browsers seems to be okay, so I'm not sure a test case could even help you.

    Posted 13 years ago on Tuesday November 23, 2010 | Permalink