Okay
  Public Ticket #2856890
Next Day Reminders not sent since 4.1
Closed

Comments

  • Gareth John Hailey started the conversation

    Hi, I updated our site to Amelia 4.1 on Friday 20/08

    Since then, the next day scheduled reminders are not being sent to customers or employees.

    The SMS reminders are still working.

    Booking confirmations send as normal.  (so mail config is ok)

    The Amelia cron job is running and confirmed as being executed

  • [deleted] replied

    Hi, Gareth,

    Sorry to hear that you faced this issue.

    Could you please provide us with temporary WP Admin access, so we will look into the issue from the inside? You can post the credentials as a private reply to this ticket.

    We don't interfere with any data except for the plugin and, of course, we don't provide login details to a third party.

    Best Regards. 

  •   Gareth John Hailey replied privately
  •   [deleted] replied privately
  •   Gareth John Hailey replied privately
  •   [deleted] replied privately
  •   [deleted] replied privately
  • Gareth John Hailey replied

    Version 4.2 - our next day reminders are still not being sent.

    Cron job is confirmed as firing.

    Can you please give some advice as to how I can debug the issue?

  • [deleted] replied

    Gareth,

    I apologize for the delayed response.

    You mentioned that "Cron job is confirmed as firing". Could you please provide us with a cron log, so we will be able to check the email notifications log as well and see where this issue is coming from? 

    Also, do scheduled SMS notifications still work?

    Looking forward to hearing from you. 

  •   Gareth John Hailey replied privately
  •   [deleted] replied privately
  • Greg replied

    We've got the same issue. The cron job still runs but throws a 500 error with the following message:

    {"message":"Invalid key 0."}

    For support: I've submitted a private ticket with our specific domain.

    For others: You can test if this is an issue for you by pasting the following URL in your browser:

    https://www.example.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send

    Replace "www.example.com" with your website domain. This only impacts sites with next-day reminder notifications, as explained here and here in the docs.

  • [deleted] replied

    Hi Greg,

    this is being investigated at the moment; we will make sure to provide a solution for Gareth but also for your private ticket as well; thank you for submitting it!smile.png

  •  2,572
    Aleksandar replied

    Hey Gareth.

    This issue has been resolved. It was caused by the custom solution we provided back in July, for emails that were not being sent when we provided that "undelivered" cron, along with a custom version of Amelia.

    The last fix we sent saved that something was sent in the database, but it didn't save the ID, so undelivered emails were sent, while scheduled emails weren't sent. One of our developers fixed this for you, and now the reminders come through without issues:

    9446513860.png

    Greg - the message you see is not an error, but notice and it's only related to the "SMS birthday greeting" notification - it's not stopping the cron from running. You can comment line 49 of the file ../wp-content/plugins/ameliabooking/src/Application/Commands/Notification/SendScheduledNotificationsCommandHandler.php :

    $smsNotificationService->sendBirthdayGreetingNotifications();
    

    And that notice will be gone. If your cron still doesn't work, though, it's not related to it.

    If you're still having issues with the cron, please let us know if we sent you a custom solution for emails that were not being sent after booking, and open a new private ticket, where we'd be able to inspect your website, as we did Gareth's.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables