action failed via WP Cron: An exception occurred while executing '
      SELECT
        type,
        status,
        count(*) AS count,
        CASE WHEN scheduled_at <= :now THEN :past ELSE :future END AS scheduled_in
      FROM wpey_mailpoet_scheduled_tasks
      WHERE deleted_at IS NULL AND (status != :statusCompleted OR status IS NULL)
      GROUP BY type, status, scheduled_in' with params ["2023-10-26 02:35:40", "past", "future", "completed"]:

SQLSTATE[HY000]: General error: 2006 MySQL server has gone away