mbogh77
Forum Replies Created
-
Forum: Plugins
In reply to: [Registration Options for BuddyPress] phpmailer error after moving to httpsHi Michael – I had a good read on the links you provided and started digging into the underlying code. I actually did a hard set of the $from_email variable in the pluggable.php file and then worked my way through testing and following the error – but whatever I did the email address kept getting re-written with https in there. The I remembered that way back when we first set the site up I had added some code to the functions.php to modify the from email address following this article: https://premium.wpmudev.org/blog/wordpress-email-settings/
Removing that code alone has fixed / resolved the error – everything else is now back as it was an we are running with SSL ! ! !
Thank you so much for taking the time to help me get to the bottom of it. Hopefully this little thread may help someone else in the future.
Forum: Plugins
In reply to: [Registration Options for BuddyPress] phpmailer error after moving to httpsAnyway the result is that the error is back again.
Here is the full error message if that helps with further diagnosis – reads as follows:
Fatal error: Uncaught exception ‘phpmailerException’ with message ‘Invalid address: (setFrom) notifications@https://www.________.com’ in /______/wp-includes/class-phpmailer.php:1023 Stack trace: #0 /_____/wp-includes/pluggable.php(352): PHPMailer->setFrom(‘notifications@h…’, ‘The website’, false) #1 /_____/wp-content/plugins/bp-registration-options/includes/admin.php(303): wp_mail(‘caseyasay777@ya…’, ‘Membership Appr…’, ‘Welcome caseyas…’) #2 [internal function]: bp_registration_options_form_actions(”) #3 /_____/wp-includes/class-wp-hook.php(298): call_user_func_array(‘bp_registration…’, Array) #4 /_____/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) #5 /_____/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #6 _____/wp-admin/admin.php(154): do_action(‘admin_ in /_____/wp-includes/class-phpmailer.php on line 1023
Your first reply is great, I will try the links you have provided and see how far I can get. Thank you.
Forum: Plugins
In reply to: [Registration Options for BuddyPress] phpmailer error after moving to httpsI followed an article but cannot give the link as it keeps refusing the post.
Forum: Plugins
In reply to: [Registration Options for BuddyPress] phpmailer error after moving to httpsThen I took the more traditional approach using a certificate installed on our server / host.
Forum: Plugins
In reply to: [Registration Options for BuddyPress] phpmailer error after moving to httpsSorry, there is more but again it will not let me post the next part of the message.
Forum: Plugins
In reply to: [Registration Options for BuddyPress] phpmailer error after moving to httpsI then removed the 2 plugins suggested in the article and stopped cloudflare – reverted to http and everything was fine again.
Forum: Plugins
In reply to: [Registration Options for BuddyPress] phpmailer error after moving to httpsShoot – ok I try again thank you.
So the site was running originally in non SSL (http). We had cloudflare running and BP registration options – everything was working perfectly. Then I followed this article to set up SSL using cloudflare: https://jonnyjordan.com/blog/how-to-setup-cloudflare-flexible-ssl-for-wordpress/
It was after this step we started seeing the error.
Forum: Plugins
In reply to: [Registration Options for BuddyPress] phpmailer error after moving to httpsI have tried again and still it will not let me post the reply and then I get this message:
ERROR: Duplicate reply detected; it looks as though you’ve already said that!
I am not doing so well here :0(
Forum: Plugins
In reply to: [Registration Options for BuddyPress] phpmailer error after moving to httpshmmm, this is strange. I have replied but I cannot see the message I wrote to you – I hope you have received it.
Forum: Fixing WordPress
In reply to: upgraded to WP 4.6 error phpmailer.php:946Just wondering if this has been addressed in the last updates?
We are seeing multiple errors with a similar error message and expect it is an issue with phpmailer.Fatal error: Uncaught exception ‘phpmailerException’ with message ‘Invalid address: (setFrom) ____@https://____.com
We are currently running v4.7.1 but did not see any problems until we changed our site over to https. We have found that if we revert back to http we dont see the error. Obviously running as https will be something most sites will be looking to do following the recent announcements from google – especially membership / eCommerce sites. I have not tried rolling back to a previous release yet – Any idea’s if that would help or if there is an alternative patch?
Forum: Plugins
In reply to: [GTmetrix for WordPress] WP 4.6 issuesHi we are seeing multiple errors with a similar header and expect this to also be an issue with phpmailer
Fatal error: Uncaught exception ‘phpmailerException’ with message ‘Invalid address: (setFrom) ____@https://____.com
we have recently changed our site over to https and note that if we revert back to http we don’t have the error. Any idea’s?