Hello,
PHP Fatal error: Uncaught exception 'phpmailerException' with message 'Invalid address: wordpress@' in /var/www/vhosts/mygamercloud.com/httpdocs/wp-includes/class-phpmailer.php:946
Stack trace:
#0 /var/www/vhosts/mygamercloud.com/httpdocs/wp-includes/pluggable.php(352): PHPMailer->setFrom('wordpress@', 'WordPress')
$phpmailer->setFrom( $from_email, $from_name );
$from_name = 'WordPress';
$from_email = 'wordpress@' . $sitename;
...
$from_email = '[email protected]';
...
...
/** $from_email = 'wordpress@' . $sitename; **/
$from_email = '[email protected]';
...
Hello,Hi PedroN,
even that I have to state clear, that your issue is absolutely not related to any Plesk component, I will still try to help you here.
Your error:
Code:PHP Fatal error: Uncaught exception 'phpmailerException' with message 'Invalid address: wordpress@' in /var/www/vhosts/mygamercloud.com/httpdocs/wp-includes/class-phpmailer.php:946
... leads to the fact that the code at "/var/www/vhosts/mygamercloud.com/httpdocs/wp-includes/pluggable.php" on line 352 has to be corrected.Code:Stack trace: #0 /var/www/vhosts/mygamercloud.com/httpdocs/wp-includes/pluggable.php(352): PHPMailer->setFrom('wordpress@', 'WordPress')
Line 352 of "pluggable.php":
... which is the result of line 315 and 331Code:$phpmailer->setFrom( $from_email, $from_name );
Code:$from_name = 'WordPress';
Code:$from_email = 'wordpress@' . $sitename;
Investigation: "$sitename;" has not been requested correctly and the result is a false eMail - adress => "setFrom('wordpress@', 'WordPress')"
=> the domain-name is missing after the "@".
Suggested fix:
Comment out line 331 and add below:
BEFORE THE CHANGE:
Code:... $from_email = '[email protected]'; ...
AFTER THE CHANGE:
... where "YOUR-DOMAIN.COM" should be replaced with a fully qualified domain name ( FQDN ) on your server, able to send eMails.Code:... /** $from_email = 'wordpress@' . $sitename; **/ $from_email = '[email protected]'; ...
Important note:
This suggested fix is a temporary work - around. Wordpress itself will provide an update/upgrade in the near future, when they investigate themself, that the ". $sitename" is not being added correctly in Wordpress 4.6. Pls. consider to contact Wordpress itself if you have any questions to this issue.
When I use the auto installer option of apps in plesk for example wordpress one, and I click on log in button in plesk, wordpress page throws me an error like if the credentials were wrong.
I was going to go into plesk to watch the version but now it gives me this error: http://prntscr.com/caplq9 I do not know why the only thing I changed the other day was the showing of the logs.This is not linked to the solution of a different issue that was explained above. You are saying that you do a fresh install from the app function of Plesk, and immediately afterwards the login to Wordpress fails, although the credentials were freshly set. Correct?
We have seen this behavior frequently at the beginning of 2016. This behavior was fixed with 12.5.30 update #29: "Users could not log in to WordPress using the “admin” user credentials, even if administrative access was granted to the user during installation. (PPPM-4349)". It should not occur if you have the latest update of Plesk installed. What is your current update version?