• Hi, my contact form 7, 5.8, suddenly dasn’t work. I’ve installed wordpress 6.3, and my php has been upgraded to 7.4. When i send a message, i have: “An error has occurred while sending your message. Please try again later.”

    Thanks for your help

    Nikos

    <?php
    /*

    define( ‘WPCF7_VERSION’, ‘5.8’ );

    define( ‘WPCF7_REQUIRED_WP_VERSION’, ‘6.2’ );

    define( ‘WPCF7_TEXT_DOMAIN’, ‘contact-form-7’ );

    define( ‘WPCF7_PLUGIN’, FILE );

    define( ‘WPCF7_PLUGIN_BASENAME’, plugin_basename( WPCF7_PLUGIN ) );

    define( ‘WPCF7_PLUGIN_NAME’, trim( dirname( WPCF7_PLUGIN_BASENAME ), ‘/’ ) );

    define( ‘WPCF7_PLUGIN_DIR’, untrailingslashit( dirname( WPCF7_PLUGIN ) ) );

    define( ‘WPCF7_PLUGIN_MODULES_DIR’, WPCF7_PLUGIN_DIR . ‘/modules’ );

    if ( ! defined( ‘WPCF7_LOAD_JS’ ) ) {
    define( ‘WPCF7_LOAD_JS’, true );
    }

    if ( ! defined( ‘WPCF7_LOAD_CSS’ ) ) {
    define( ‘WPCF7_LOAD_CSS’, true );
    }

    if ( ! defined( ‘WPCF7_AUTOP’ ) ) {
    define( ‘WPCF7_AUTOP’, true );
    }

    if ( ! defined( ‘WPCF7_USE_PIPE’ ) ) {
    define( ‘WPCF7_USE_PIPE’, true );
    }

    if ( ! defined( ‘WPCF7_ADMIN_READ_CAPABILITY’ ) ) {
    define( ‘WPCF7_ADMIN_READ_CAPABILITY’, ‘edit_posts’ );
    }

    if ( ! defined( ‘WPCF7_ADMIN_READ_WRITE_CAPABILITY’ ) ) {
    define( ‘WPCF7_ADMIN_READ_WRITE_CAPABILITY’, ‘publish_pages’ );
    }

    if ( ! defined( ‘WPCF7_VERIFY_NONCE’ ) ) {
    define( ‘WPCF7_VERIFY_NONCE’, false );
    }

    if ( ! defined( ‘WPCF7_USE_REALLY_SIMPLE_CAPTCHA’ ) ) {
    define( ‘WPCF7_USE_REALLY_SIMPLE_CAPTCHA’, false );
    }

    if ( ! defined( ‘WPCF7_VALIDATE_CONFIGURATION’ ) ) {
    define( ‘WPCF7_VALIDATE_CONFIGURATION’, true );
    }

    // Deprecated, not used in the plugin core. Use wpcf7_plugin_url() instead.
    define( ‘WPCF7_PLUGIN_URL’,
    untrailingslashit( plugins_url( ”, WPCF7_PLUGIN ) )
    );

    require_once WPCF7_PLUGIN_DIR . ‘/load.php’;

    https://traductions-grec.fr/test/

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Nikos,

    The error message you’re receiving, “An error has occurred while sending your message. Please try again later,” can occur due to various reasons. Here are a few troubleshooting steps you can try to resolve the issue:

    1. Check your email configuration: Make sure you have correctly configured the email settings in Contact Form 7. Double-check the recipient email address and ensure it is set up correctly.
    2. Test with a different email address: Try using a different email address as the recipient to see if the issue persists. This can help determine if the problem lies with the specific email address or the plugin itself.
    3. Verify your hosting environment: Ensure that your hosting environment supports the required PHP version (7.4) and WordPress version (6.2) as specified by Contact Form 7. Contact your hosting provider if necessary to confirm compatibility and resolve any server-related issues.
    Thread Starter nohianos

    (@nohianos)

    Thanks Victor for your answer.

    1 . Check your email configuration: Make sure you have correctly configured the email settings in Contact Form 7. Double-check the recipient email address and ensure it is set up correctly. I have contact form 7 since 2 years and it worked before.

    2. Test with a different email address: Try using a different email address as the recipient to see if the issue persists. This can help determine if the problem lies with the specific email address or the plugin itself. I test it, without result

    3. Verify your hosting environment: Ensure that your hosting environment supports the required PHP version (7.4) and WordPress version (6.2) as specified by Contact Form 7. Contact your hosting provider if necessary to confirm compatibility and resolve any server-related issues. For my hosting envirinment. Ovhcloud.com, my hosting company, wrote me that they dont have problems.

    There is 2 days ago, i change php7.2 to 7.4. Here is the .ovhconfig

    app.engine=php
    container.image=stable64
    environment=production
    http.firewall=none
    app.engine.version=7.4

    Last question: I upgrade wordpress 6.2 to 6.3. Is that the issue ?

    Thanks

    Nikos

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘“An error has occurred while sending your message. Please try again later.”’ is closed to new replies.