We are installing a new instance of Wordpress for a customer using the Tool Kit. The public_html was empty when starting. We get these errors (identifying info munged):
We have successfully updated existing WP installations using the WPTK, and haven't experienced these issues. We tried twice to install, failing both times with the same errors, public_html empty both times. Anybody have any idea what is going on?
WordPress was installed with errors:
Fatal error: Uncaught Error: Call to undefined function PHPMailer\PHPMailer\mail() in /home/USER/public_html/wp-includes/PHPMailer/PHPMailer.php:874
Stack trace:
#0 /home/USER/public_html/wp-includes/PHPMailer/PHPMailer.php(1923): PHPMailer\PHPMailer\PHPMailer->mailPassthru('USER@ADDRESS.....', 'New WordPress S...', 'Your new WordPr...', 'Date: Tue, 15 F...', NULL)
#1 /home/USER/public_html/wp-includes/PHPMailer/PHPMailer.php(1657): PHPMailer\PHPMailer\PHPMailer->mailSend('Date: Tue, 15 F...', 'Your new WordPr...')
#2 /home/USER/public_html/wp-includes/PHPMailer/PHPMailer.php(1493): PHPMailer\PHPMailer\PHPMailer->postSend()
#3 /home/USER/public_html/wp-includes/pluggable.php(544): PHPMailer\PHPMailer\PHPMailer->send()
#4 /home/USER/public_html/wp-admin/includes/upgrade.php(624): wp_mail(Array, 'New WordPress S...', 'Your new WordPr...', Array)
#5 /home/USER/public_html/wp-admin/includes/upgrade.php(117): wp_new_blog_notification('COMPANY', 'https://WEBSITE...', 1, 'The password yo...')
#6 /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/vendor/wp-cli/core-command/src/Core_Command.php(618): wp_install('COMPANY', 'admin', 'USER@ADDRESS.....', true, '', 'FAKEPW')
#7 /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/vendor/wp-cli/core-command/src/Core_Command.php(401): Core_Command->do_install(Array)
#8 [internal function]: Core_Command->install(Array, Array)
#9 /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(100): call_user_func(Array, Array, Array)
#10 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}(Array, Array)
#11 /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(491): call_user_func(Object(Closure), Array, Array)
#12 /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(399): WP_CLI\Dispatcher\Subcommand->invoke(Array, Array, Array)
#13 /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(422): WP_CLI\Runner->run_command(Array, Array)
#14 /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1214): WP_CLI\Runner->run_command_and_exit()
#15 /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(23): WP_CLI\Runner->start()
#16 /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/vendor/wp-cli/wp-cli/php/bootstrap.php(77): WP_CLI\Bootstrap\LaunchRunner->process(Object(WP_CLI\Bootstrap\BootstrapState))
#17 /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/vendor/wp-cli/wp-cli/php/wp-cli.php(27): WP_CLI\bootstrap()
#18 /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/vendor/wp-cli/wp-cli/php/boot-fs.php(17): require_once('/usr/local/cpan...')
#19 /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/wpt-wp-cli.php(31): require_once('/usr/local/cpan...')
#20 Command line code(1): require('/usr/local/cpan...')
#21 {main}
thrown in /home/USER/public_html/wp-includes/PHPMailer/PHPMailer.php on line 874
Error: There has been a critical error on this website.Learn more about troubleshooting WordPress. There has been a critical error on this website.
We have successfully updated existing WP installations using the WPTK, and haven't experienced these issues. We tried twice to install, failing both times with the same errors, public_html empty both times. Anybody have any idea what is going on?