The error message is displayed using admin_notices hook, but the action is added inside the function execution which means it will be added every time oiaa_meetings_enqueue_scripts() is called. This could result in duplicate error messages. Move the admin notice registration outside of this function or use a static flag to ensure it's only added once.
Originally posted by @Copilot in #58 (comment)
The error message is displayed using
admin_noticeshook, but the action is added inside the function execution which means it will be added every timeoiaa_meetings_enqueue_scripts()is called. This could result in duplicate error messages. Move the admin notice registration outside of this function or use a static flag to ensure it's only added once.Originally posted by @Copilot in #58 (comment)