Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflict with WP Mail SMTP Pro Site Health Info #15

Open
jessecowens opened this issue Nov 9, 2023 · 0 comments
Open

Conflict with WP Mail SMTP Pro Site Health Info #15

jessecowens opened this issue Nov 9, 2023 · 0 comments

Comments

@jessecowens
Copy link
Member

Describe the issue
When Central Connect and WP Mail SMTP Pro are both active, a 500 error on the Stats endpoint results in a false positive connection error on the Overview screen of Platform i.

Replication

  1. Contact Jesse for a copy of WPMSMTPP that was provided by that plugin's support team
  2. Install and activate WPMSMTPP and configure an SMTP provider
  3. Note the connection error on the Overview screen, while the WP Admin connection and auth connections are fine

Relevant information

[09-Nov-2023 16:49:20 UTC] PHP Warning:  Undefined array key "wp_mail_smtp" in /home/wordpress/doc_root/wp-content/plugins/wp-mail-smtp-pro/src/Pro/SiteHealth.php on line 99
[09-Nov-2023 16:49:20 UTC] PHP Warning:  Trying to access array offset on value of type null in /home/wordpress/doc_root/wp-content/plugins/wp-mail-smtp-pro/src/Pro/SiteHealth.php on line 99
[09-Nov-2023 16:49:20 UTC] PHP Fatal error:  Uncaught TypeError: array_merge(): Argument #1 must be of type array, null given in /home/wordpress/doc_root/wp-content/plugins/wp-mail-smtp-pro/src/Pro/SiteHealth.php:99
Stack trace:
#0 /home/wordpress/doc_root/wp-content/plugins/wp-mail-smtp-pro/src/Pro/SiteHealth.php(99): array_merge(NULL, Array)
#1 /home/wordpress/doc_root/wp-includes/class-wp-hook.php(324): WPMailSMTP\Pro\SiteHealth->register_pro_debug_information(Array)
#2 /home/wordpress/doc_root/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
#3 /home/wordpress/doc_root/wp-admin/includes/class-wp-debug-data.php(1463): apply_filters('debug_informati...', Array)
#4 /home/wordpress/doc_root/wp-content/plugins/boldgrid-connect-feature-rest-api/src/Analytics/Stats.php(55): WP_Debug_Data::debug_data()
#5 /home/wordpress/doc_root/wp-content/plugins/boldgrid-connect-feature-rest-api/src/Analytics/Stats.php(33): BoldGrid\Connect\Analytics\Stats::getDebugInfo()
#6 /home/wordpress/doc_root/wp-content/plugins/boldgrid-connect-feature-rest-api/src/Analytics/Router.php(52): BoldGrid\Connect\Analytics\Stats->getData()
#7 /home/wordpress/doc_root/wp-includes/rest-api/class-wp-rest-server.php(1193): BoldGrid\Connect\Analytics\Router->BoldGrid\Connect\Analytics\{closure}(Object(WP_REST_Request))
#8 /home/wordpress/doc_root/wp-includes/rest-api/class-wp-rest-server.php(1041): WP_REST_Server->respond_to_request(Object(WP_REST_Request), '/bgc/v1/stats', Array, NULL)
#9 /home/wordpress/doc_root/wp-includes/rest-api/class-wp-rest-server.php(431): WP_REST_Server->dispatch(Object(WP_REST_Request))
#10 /home/wordpress/doc_root/wp-includes/rest-api.php(424): WP_REST_Server->serve_request('/bgc/v1/stats')
#11 /home/wordpress/doc_root/wp-includes/class-wp-hook.php(324): rest_api_loaded(Object(WP))
#12 /home/wordpress/doc_root/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#13 /home/wordpress/doc_root/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
#14 /home/wordpress/doc_root/wp-includes/class-wp.php(418): do_action_ref_array('parse_request', Array)
#15 /home/wordpress/doc_root/wp-includes/class-wp.php(813): WP->parse_request('')
#16 /home/wordpress/doc_root/wp-includes/functions.php(1336): WP->main('')
#17 /home/wordpress/doc_root/wp-blog-header.php(16): wp()
#18 /home/wordpress/doc_root/index.php(17): require('/home/wordpress...')
#19 {main}
  thrown in /home/wordpress/doc_root/wp-content/plugins/wp-mail-smtp-pro/src/Pro/SiteHealth.php on line 99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant