diff --git a/burn-events.php b/burn-events.php
index 6d6b4c0..919d431 100644
--- a/burn-events.php
+++ b/burn-events.php
@@ -3,7 +3,7 @@
* Plugin Name: eventLabs
* Plugin URI: https://git.labs.casa/josh/eventLabs
* Description: Calendars, recurring events, community submissions, and a Single Event template builder for Elementor.
- * Version: 0.5.5
+ * Version: 0.5.6
* Requires at least: 6.9
* Requires PHP: 8.1
* Author: hostLabs
@@ -16,7 +16,7 @@ declare(strict_types=1);
defined( 'ABSPATH' ) || exit;
define( 'BURN_EVENTS_FILE', __FILE__ );
-define( 'BURN_EVENTS_VERSION', '0.5.5' );
+define( 'BURN_EVENTS_VERSION', '0.5.6' );
foreach ( [ 'schedule', 'maps', 'events', 'admin', 'map-view', 'calendar-grid', 'calendar', 'community', 'transfer', 'single-event-templates', 'api', 'burnworks', 'clubs', 'legacy-migration', 'updates', 'platform' ] as $module ) {
require_once __DIR__ . '/includes/class-' . $module . '.php';
diff --git a/includes/class-admin.php b/includes/class-admin.php
index 5ee36a2..a686b7c 100644
--- a/includes/class-admin.php
+++ b/includes/class-admin.php
@@ -177,8 +177,11 @@ final class Admin {
$data['organizer'] = array_filter( [ $options['organizer'] ] );
}
self::event_fields( $data );
- $scope = (string) get_post_meta( $post->ID, Clubs::EVENT_META, true );
$options = Clubs::editor_options();
+ if ( null === $options ) {
+ return;
+ }
+ $scope = (string) get_post_meta( $post->ID, Clubs::EVENT_META, true );
?>