[BlueOnyx:24876] PHPMailer error using php 8.0.1

Robert Fitzpatrick robert at webtent.org
Mon Mar 29 12:10:12 -05 2021


I am running WordPress 5.7 on a BO 5209R using FPM/FastCGI and get error 
"Call to undefined function PHPMailer" when using the PHP 8.0.1 package 
from the BO store. Using 7.4.x works fine. Here is the full error log 
message:

[Mon Mar 29 13:01:35.794113 2021] [proxy_fcgi:error] [pid 22551] [client 
45.3.215.154:41801] AH01071: Got error 'PHP message: PHP Fatal error: 
Uncaught Error: Call to undefined function 
PHPMailer\\PHPMailer\\escapeshellcmd() in 
/home/.sites/70/site4/web/wp-includes/PHPMailer/PHPMailer.php:1779\nStack 
trace:\n#0 
/home/.sites/70/site4/web/wp-includes/PHPMailer/PHPMailer.php(1871): 
PHPMailer\\PHPMailer\\PHPMailer::isShellSafe('wordpress at apoge...')\n#1 
/home/.sites/70/site4/web/wp-includes/PHPMailer/PHPMailer.php(1635): 
PHPMailer\\PHPMailer\\PHPMailer->mailSend('Date: Mon, 29 M...', 'Someone 
has req...')\n#2 
/home/.sites/70/site4/web/wp-includes/PHPMailer/PHPMailer.php(1466): 
PHPMailer\\PHPMailer\\PHPMailer->postSend()\n#3 
/home/.sites/70/site4/web/wp-includes/pluggable.php(531): 
PHPMailer\\PHPMailer\\PHPMailer->send()\n#4 
/home/.sites/70/site4/web/wp-includes/user.php(2821): wp_mail(Array, 
'[Apogee Cosmedi...', 'Someone has req...')\n#5 
/home/.sites/70/site4/web/wp-admin/users.php(245): 
retrieve_password('rwfitzy')\n#6 {main}\n  thrown in 
/home/.sites/70/site4/web/wp-includes/PHPMailer/PHPMailer.php on line 
1779', referer: https://www.VSITE.com/wp-admin/users.php

The error is generated resulting in a critical fatal error in WordPress 
whenever using password reset or other mail related feature.

-- 
Robert




More information about the Blueonyx mailing list