Home>Support>contact form displays always “Message already sent” after sending mail

contact form displays always “Message already sent” after sending mail

I get after submit contact form always this message: “Message already sent” after moving site to a new server (with wp-clone backup)
But messages are sent succsessful in background.

settings recaptcha is deactivated
the same site on other server everything works fine.

I Use SiteOrigin Widgets Bundle 1.5.9. The complete deinstallation and new installation of widgets bundle doesen’t helped.

An other fact on my whole installations is: if i enable recaptch settings with correct key, then this message is will be displayed on every wordpress installation from me, too. the recaptche key are correct, becaus i use this key with other plugins on the sites, too.

Do you have any ideas? Is there a logfile perhaps?

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 8 years, 6 months ago Ralf Bösenberg

    I did one test more:
    I installed a further new wordpress env. on the new server with clean database and installed pagebuilder + widgets
    Then i added a new page and inserted contact form over pagebuilder.
    The message was send correctly without error messages.
    Then i export the pagebuilder layout as json file and after that i switched to the other wordprwess site and imported the json file as page builder layout in a page. after that i use the contact form and get the same error message again.
    It doesen’t seem to be a Problem with the server or the edited page. It must be an other problem. But which Problem it coud be?

  2. 8 years, 6 months ago Ralf Bösenberg

    here is my third post ;-)

    I found a qiuck and dirty solution:
    i edited file wp-content/plugins/so-widgets-bundle/widgets/contact/contact.php
    and disabled the line ….return new WP_Error(….
    ) ) {
    // Store the version with the expired hashes removed
    update_option( ‘so_contact_hashes’, $hash_check, true );

    // This is a duplicate message
    #return new WP_Error( 1, __(‘Message already sent’, ‘so-widgets-bundle’) );
    }

    “]

    If I would know why the script is thinking about this expired hashes, i could sure solve the problem correctly :-(

  3. 8 years, 6 months ago Andrew Misplon
    Hi, I Work Here

    Hi Ralf

    Thanks for taking the time to report this bug. It’s been resolved, the fix will be included in the next release of the Widgets Bundle plugin. Apologies for the hassle.

  4. 8 years, 6 months ago Ralf Bösenberg

    Oh thank You very much :-)

    for yout info. you’re right. After deactivate Yast Seo Plugin, i get one mail. When Seo Plugin activated, then i get 2 mails from contact after my “”little hack” in file contact.php.
    i will wait for update…

  5. 8 years, 6 months ago Andrew Misplon
    Hi, I Work Here

    Super, thanks for your understanding. We’ll release the update as soon as possible.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More