Jonathan Pasquier
Forum Replies Created
-
Forum: Plugins
In reply to: [Bounce Handler MailPoet 3] Fatal ErrorEric, you have to edit /includes/class-mailpoet-bounce-detect.php, line 667 – 668
The proposed fix did’nt work for me, I had to comment out both line to make it work again.
Downside, now I don’t receive any mail when there is a weird bounce.Forum: Plugins
In reply to: [Add-on Gravity Forms - MailPoet 3] Patch: “Do not send validation email”Great! Thanks!
Forum: Plugins
In reply to: [Bounce Handler MailPoet 3] Bounce handling not running periodicallyYes I did!
Thank you
Thank you for the fix!
Forum: Plugins
In reply to: [Bounce Handler MailPoet 3] Bounce handling not running periodicallyYou are welcome ??
Thanks for sharing your work!
Forum: Plugins
In reply to: [Bounce Handler MailPoet 3] Bounce handling not running periodicallyHi,
I think I have found where the problem is coming from.
I have executed the cron job from code, with a
do_action('bdt_fifteen_min_worker');
and I have been playing with thefifteen_min_hook
function in scheduler.php to see what was going wrong.As far as I can tell, the problem comes from the way the plugin settings are loaded.
It is done using the Setting class of MailPoet with the following line:
$setting = Setting::getValue('bounce_config'); // get the settings value from database
but looking at class-mailpoet-bounce-handler.php on line 546, I can see that the plugin is using the WordPress functions to save the settings:
$save = update_option( 'mbh_bounce_config', $bounce, null );
So in the scheduler.php, I have replaced
$setting = Setting::getValue('bounce_config'); // get the settings value from database
by
$setting = get_option('mbh_bounce_config'); // get the settings value from database
And now it is working!
I think every user of the plugin is affected by this bug, although people may not have noticed it yet.
If your plugin is in some public repository, like GitHub, I can submit a patch.Regards
Forum: Plugins
In reply to: [Bounce Handler MailPoet 3] Bounce handling not running periodicallyHi @tamim71,
Thank you for your answer.
Indeed, there is not a lot of traffic on this site, as it is only dedicated to sending emails.
I have tried to navigate on the site during 15 minutes, without result.
I have added a cron job that calls every minute https://example.com/wp-cron.php?doing_wp_cron without success.
I have installed WP Crontrol, a plugin that let me see which jobs are scheduled with wp-cron, and I could see the bdt_*_worker jobs. I have tried to execute them manually, but it didn’t work neither (the job executes, I see a success message saying that everything went fine, but there are still 30 mails pending to be processed in the bounce email inbox).Any idea about how I can debug this issue?
Thanks
Forum: Plugins
In reply to: [MailPoet Newsletters (Previous)] Try the New MailPoet 3 DEMO!OK, thanks.
I’m impatient to see what MP v3 has to offer ??Forum: Plugins
In reply to: [MailPoet Newsletters (Previous)] Try the New MailPoet 3 DEMO!Hi,
Mailpoet v3 is awesome! Can’t wait to use it!
A couple of features I couldn’t find in this demo:
Stats: I can see the open / click / unsubscribe rate in the newsletters list, but there is no way to see the details. Is this a premium feature that is not activated in this demo?Use CRON to trigger sending: with MailPoet v2 you could configure a CRON task to trigger sending. It seems that the option doesn’t exists anymore. Any chance it will come back before final release?
A last question: I’m especially interested in hooking MailPoet with my CRM and to do so, I need to “capture” events such as subscribing and unsubscribing. Last time I checked in MailPoet v2 code, there were no hook for these events.
Do you plan to add more hooks to MailPoet?Thanks!