插件wp-smtp后无法访问wp-admin

问题描述 投票:0回答:1

安装后

wp-smtp
我无法访问wp-admin。

我尝试过的:

  • 将插件文件夹重命名为plugins.hold
  • 更改数据库中 active_plugins 的值

这两个选项都不起作用。

所以我在

wp-config.php
中启用了调试,这是我得到的错误:

已弃用:创建动态属性 PHPMailer\PHPMailer\PHPMailer::$Timelimit 已弃用 /data/sites/web/company/www/wp-content/plugins/wp-smtp/wp-smtp.php 上 198号线

致命错误:未捕获错误:调用未定义的函数 PHPMailer\PHPMailer sockopen() 中 /data/sites/web/company/www/wp-includes/PHPMailer/SMTP.php:423 堆栈 跟踪:#0 /data/sites/web/company/www/wp-includes/PHPMailer/SMTP.php(356): PHPMailer\PHPMailer\SMTP->getSMTPConnection('...', 587, 15, 数组) #1 /data/sites/web/company/www/wp-includes/PHPMailer/PHPMailer.php(2228): PHPMailer\PHPMailer\SMTP->connect('...', 587, 15, 数组) #2 /data/sites/web/company/www/wp-content/plugins/wp-smtp/wp-smtp.php(213): PHPMailer\PHPMailer\PHPMailer->smtpConnect() #3 /data/sites/web/company/www/wp-content/plugins/wp-smtp/wp-smtp.php(55): WP_SMTP->check_credentials() #4 /data/sites/web/company/www/wp-content/plugins/wp-smtp/wp-smtp.php(291): WP_SMTP->__construct() #5 /data/sites/web/company/www/wp-settings.php(517): include_once('...') #6 /data/sites/web/company/www/wp-config.php(110): require_once('...') #7 /data/sites/web/company/www/wp-load.php(50 ): require_once('...') #8 /data/sites/web/company/www/wp-admin/admin.php(34): require_once('...') #9 /data/sites/web/company/www/wp-admin/index.php(10): require_once('...') #10 {main} 抛出 /data/sites/web/company/www/wp-includes/PHPMailer/SMTP.php 第 423 行

致命错误:未捕获错误:无效回调 PHPMailer\PHPMailer\SMTP::errorHandler,无法访问受保护的方法 PHPMailer\PHPMailer\SMTP::errorHandler() 中 /data/sites/web/company/www/wp-includes/functions.php:6078 堆栈 跟踪:#0 /data/sites/web/company/www/wp-includes/functions.php(6078): 触发错误('...', 1024) #1 /data/sites/web/company/www/wp-includes/functions.php(6022): wp_trigger_error('', '...') #2 /data/sites/web/company/www/wp-includes/query.php(882): _doing_it_wrong('...', '...', '...') #3 /data/sites/web/company/www/wp-includes/robots-template.php(93): is_embed() #4 /data/sites/web/company/www/wp-includes/class-wp-hook.php(324): wp_robots_noindex_embeds(数组)#5 /data/sites/web/company/www/wp-includes/plugin.php(205): WP_Hook->apply_filters(数组,数组)#6 /data/sites/web/company/www/wp-includes/robots-template.php(32): apply_filters('...', 数组) #7 /data/sites/web/company/www/wp-includes/functions.php(3863): wp_robots() #8 /data/sites/web/company/www/wp-includes/functions.php(3785): _default_wp_die_handler('...', '...', Array) #9 /data/sites/web/company/www/wp-includes/class-wp-fatal-error-handler.php(241): wp_die(对象(WP_Error), '', 数组) #10 /data/sites/web/company/www/wp-includes/class-wp-fatal-error-handler.php(156): WP_Fatal_Error_Handler->display_default_error_template(数组, 对象(WP_Error))#11 /data/sites/web/company/www/wp-includes/class-wp-fatal-error-handler.php(60): WP_Fatal_Error_Handler->display_error_template(数组, 对象(WP_Error)) #12 [内部函数]: WP_Fatal_Error_Handler->handle() #13 {main} 抛出 /data/sites/web/company/www/wp-includes/functions.php 第 6078 行

php wordpress email smtp wp-admin
1个回答
-1
投票

联系 xperlet Web 开发公司他们会帮助你。

© www.soinside.com 2019 - 2024. All rights reserved.