mirror of
https://github.com/plausible/analytics.git
synced 2024-12-29 04:22:34 +03:00
48b02c1396
This commit fixes a bug where the SendTrialNotifications job tried to suggest a plan for users switching to enterprise plans, resulting in the exception below: ``` UndefinedFunctionError: function :enterprise.volume/0 is undefined (module :enterprise is not available) Module "enterprise", in :enterprise.volume/0 File "lib/plausible_web/templates/email/trial_upgrade_email.html.eex", line 5, in PlausibleWeb.EmailView."trial_upgrade_email.html"/1 File "lib/phoenix_view.ex", line 381, in Phoenix.View.render_within/3 File "lib/phoenix_view.ex", line 557, in Phoenix.View.render_to_iodata/3 File "lib/phoenix_view.ex", line 564, in Phoenix.View.render_to_string/3 File "lib/bamboo_phoenix.ex", line 291, in Bamboo.Phoenix.render_text_or_html_email/1 File "lib/workers/send_trial_notifications.ex", line 67, in Plausible.Workers.SendTrialNotifications.send_today_reminder/1 File "lib/workers/send_trial_notifications.ex", line 36, in anonymous fn/2 in Plausible.Workers.SendTrialNotifications.perform/1 ``` |
||
---|---|---|
.. | ||
activation_email.html.eex | ||
cancellation_email.html.eex | ||
check_stats_email.html.eex | ||
create_site_email.html.eex | ||
dashboard_locked.html.eex | ||
enterprise_over_limit_internal.html.eex | ||
error_report_email.html.eex | ||
existing_user_invitation.html.eex | ||
google_analytics_import.html.eex | ||
invitation_accepted.html.eex | ||
invitation_rejected.html.eex | ||
new_user_invitation.html.eex | ||
over_limit.html.eex | ||
ownership_transfer_accepted.html.eex | ||
ownership_transfer_rejected.html.eex | ||
ownership_transfer_request.html.eex | ||
password_reset_email.html.eex | ||
site_member_removed.html.eex | ||
site_setup_help_email.html.eex | ||
site_setup_success_email.html.eex | ||
spike_notification.html.eex | ||
trial_one_week_reminder.html.eex | ||
trial_over_email.html.eex | ||
trial_upgrade_email.html.eex | ||
welcome_email.html.eex | ||
yearly_expiration_notification.html.eex | ||
yearly_renewal_notification.html.eex |