Hi Eduardo,
thank you so much for this plugin.
I use it regularly and love it!
[31-Mar-2023 10:54:43 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
Is caused by these lines of the plugin:
add_submenu_page( null, ‘Mailtrap for WordPress’, ‘Mailtrap Test’, ‘manage_options’, ‘mailtrap-test’, array($this, ‘test_page’ ));
add_submenu_page( null, ‘Mailtrap for WordPress’, ‘Mailtrap Inbox’, ‘manage_options’, ‘mailtrap-inbox’, array($this, ‘inbox_page’ ));
Is a PR welcome?
Wish you all the best!
]]>WP 5.5 has upgrade : The PHPMailer library just got a major update, going from version 5.2.27 to 6.1.6.
This broke the mailtrap plugin due to class reference line 103 in mailtrap-for-wp.php
public function mailer_setup(PHPMailer $phpmailer)
Needs to be update to
public function mailer_setup(\PHPMailer\PHPMailer\PHPMailer $phpmailer)
I am receiving these notice error messages.
Notice: Undefined variable: email_sent in /home/ws1/www/grav/sites/motors/wp-content/plugins/mailtrap-for-wp/includes/notices.php on line 1
Notice: Undefined variable: email_sent in /home/ws1/www/grav/sites/motors/wp-content/plugins/mailtrap-for-wp/includes/notices.php on line 7
Notice: Undefined variable: email_sent in /home/ws1/www/grav/sites/motors/wp-content/plugins/mailtrap-for-wp/mailtrap-for-wp.php on line 71
]]>What does this plugin do with BuddyPress/WooCommerce that you included their tags?
]]>