Keywords:
If like me you found yourself wondering what was going on when you saw an error similar to this:
Fatal error: Uncaught exception ‘EpiOAuthException’ in /var/www/******/wp-content/plugins/hl-twitter/api/EpiOAuth.php:439 Stack trace: #0 /var/www/******/wp-content/plugins/hl-twitter/api/EpiOAuth.php(409): EpiOAuthException::raise(Object(EpiCurlManager), false) #1 /var/www/******/wp-content/plugins/hl-twitter/api/EpiOAuth.php(45): EpiOAuthResponse->__get(‘oauth_token’) #2 /var/www/******/wp-content/plugins/hl-twitter/admin.php(1256): EpiOAuth->getAuthenticateUrl(NULL, Array) #3 [internal function]: hl_twitter_oauth_get_authorize_url(”) #4 /var/www/******/wp-includes/plugin.php(405): call_user_func_array(‘hl_twitter_oaut…’, Array) #5 /var/www/******/wp-admin/admin-ajax.php(1587): do_action(‘wp_ajax_hl_twit…’) #6 {main} thrown in /var/www/******/wp-content/plugins/hl-twitter/api/EpiOAuth.php on line 439
Then you might be pleased to know there is a solution! Providing you do in fact have cURL installed (check it!) then the chances are the problem lies with the SSL connection that it is likely trying to use.
All you have to do is download this file (or copy the contents) and overwrite the file (or contents) of the ca-bundle.crt file located within the API folder within the hl-twitter folder.
/var/www/*****/wp-content/plugins/hl-twitter/api/ca-bundle.crt
Hope this helped fix your issue