Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    One of your plugins, most likely a plugin adding a Captcha option to your site, doesn’t appear to be configured properly. It creates a JavaScript error when you try to use Jetpack’s email sharing button:
    http://i.wpne.ws/gjgC

    Could you try to configure that plugin to include a Recaptcha key, and let me know how it goes?

    Thread Starter shanilferdo

    (@shanilferdo)

    Hi Jeremy.

    Thanks That help fixing that. Now i get the form. But when i enter the details and click send email button it just keeps on the loading sign. and email doesn’t go. Hope you will be able to help me with this as well.

    Thank you

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    It seems a 500 error is triggered whenever you try to hit the Send Email button. To find out more about that error, could you add the following to your site’s wp-config.php file?

    define('WP_DEBUG', true);
    
    if ( WP_DEBUG ) {
    
            @error_reporting( E_ALL );
            @ini_set( 'log_errors', true );
            @ini_set( 'log_errors_max_len', '0' );
    
            define( 'WP_DEBUG_LOG', true );
            define('WP_DEBUG_DISPLAY', false);
            define( 'CONCATENATE_SCRIPTS', false );
            define( 'SAVEQUERIES', true );
    
    }

    Once you’ve done so, try sharing a post via email again, and check the wp-content/debug.log file for errors. You can paste the results here. You can then replace define('WP_DEBUG', true); by define('WP_DEBUG', false); in the code above.

    Thanks!

    Thread Starter shanilferdo

    (@shanilferdo)

    Thank Jeremy.

    Here is the debug log.

    [21-Jul-2016 13:54:15 UTC] WPHP-> called: wphp_query_posts_where
    [21-Jul-2016 13:54:15 UTC] WPHP-> called: wphp_query_posts_join
    [21-Jul-2016 13:54:26 UTC] PHP Notice:  Undefined offset: 0 in /hsphere/local/home/clients/ideaspies.com/wp-includes/capabilities.php on line 117
    [21-Jul-2016 13:54:27 UTC] WPHP-> called: wphp_query_posts_where
    [21-Jul-2016 13:54:27 UTC] WPHP-> called: wphp_query_posts_join
    [21-Jul-2016 13:54:28 UTC] WPHP-> called: wphp_query_posts_where
    [21-Jul-2016 13:54:28 UTC] WPHP-> called: wphp_query_posts_join
    [21-Jul-2016 13:55:06 UTC] WPHP-> called: wphp_query_posts_where
    [21-Jul-2016 13:55:06 UTC] WPHP-> called: wphp_query_posts_join
    [21-Jul-2016 13:56:43 UTC] WPHP-> called: wphp_query_posts_where
    [21-Jul-2016 13:56:43 UTC] WPHP-> called: wphp_query_posts_join
    [21-Jul-2016 13:56:43 UTC] PHP Notice:  Undefined index: HTTP_USER_AGENT in /hsphere/local/home/clients/ideaspies.com/wp-content/themes/graphy/functions.php on line 271
    [21-Jul-2016 13:56:49 UTC] WPHP-> called: wphp_query_posts_where
    [21-Jul-2016 13:56:49 UTC] WPHP-> called: wphp_query_posts_join
    [21-Jul-2016 13:57:04 UTC] WPHP-> called: wphp_query_posts_where
    [21-Jul-2016 13:57:04 UTC] WPHP-> called: wphp_query_posts_join
    [21-Jul-2016 13:57:11 UTC] WPHP-> called: wphp_query_posts_where
    [21-Jul-2016 13:57:11 UTC] WPHP-> called: wphp_query_posts_join
    [21-Jul-2016 13:57:12 UTC] PHP Notice:  Undefined offset: 0 in /hsphere/local/home/clients/ideaspies.com/wp-includes/capabilities.php on line 117
    [21-Jul-2016 13:57:12 UTC] WPHP-> called: wphp_query_posts_where
    [21-Jul-2016 13:57:12 UTC] WPHP-> called: wphp_query_posts_join
    [21-Jul-2016 13:57:16 UTC] WPHP-> called: wphp_query_posts_where
    [21-Jul-2016 13:57:16 UTC] WPHP-> called: wphp_query_posts_join
    [21-Jul-2016 13:57:23 UTC] PHP Notice:  Undefined offset: 0 in /hsphere/local/home/clients/ideaspies.com/wp-includes/capabilities.php on line 117
    [21-Jul-2016 13:57:23 UTC] WPHP-> called: wphp_query_posts_where
    [21-Jul-2016 13:57:23 UTC] WPHP-> called: wphp_query_posts_join
    [21-Jul-2016 13:57:24 UTC] WPHP-> called: wphp_query_posts_where
    [21-Jul-2016 13:57:24 UTC] WPHP-> called: wphp_query_posts_join
    [21-Jul-2016 13:57:34 UTC] WPHP-> called: wphp_query_posts_where
    [21-Jul-2016 13:57:34 UTC] WPHP-> called: wphp_query_posts_join
    [21-Jul-2016 13:58:58 UTC] WPHP-> called: wphp_query_posts_where
    [21-Jul-2016 13:58:58 UTC] WPHP-> called: wphp_query_posts_join
    [21-Jul-2016 13:59:06 UTC] WPHP-> called: wphp_query_posts_where
    [21-Jul-2016 13:59:06 UTC] WPHP-> called: wphp_query_posts_join
    [21-Jul-2016 13:59:06 UTC] PHP Notice:  Undefined offset: 0 in /hsphere/local/home/clients/ideaspies.com/wp-includes/capabilities.php on line 117
    [21-Jul-2016 13:59:06 UTC] WPHP-> called: wphp_query_posts_where
    [21-Jul-2016 13:59:06 UTC] WPHP-> called: wphp_query_posts_join

    Thank you again.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    Thanks. Although there are warnings, I don’t see any 500 error reported in there.

    I wonder if the problem could be linked to your server’s email configuration. Jetpack, like other contact form plugins, uses a function named wp_mail to send out emails. It’s the same function that is used by WordPress to send you comment notifications, or notifications about new users registering on your site. It is however possible that your site is having trouble sending out emails.

    Could you try to install and configure this plugin to bypass your server’s email functions, and use a third-party email provider instead?
    https://wordpress.org/plugins/postman-smtp/

    Let me know if it helps.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘jeckpack email share not working’ is closed to new replies.