Voxel Notifications not triggering Email actions

  • Solved
  • Posted 3 weeks ago

Hi guys,

Subject: Critical: Email generation failing for App Events (In-app works, Manual Test works)

Environment:
PHP 8.3.30 | LiteSpeed Enterprise (RunCloud/Hetzner)
Voxel License: Active
Site status: Cloned/Migrated

Problem: In-app notifications work, but Voxel fails to generate/queue Emails for events (Likes, Follows, etc.), even if enabled in settings.

Verified & Tested:
System Mail: WP Registration and FluentCRM emails work perfectly.
Cron: System-level Cron (RunCloud) is active every 5 mins. DISABLE_WP_CRON is true.
Indexer: All users and posts have been fully re-indexed.

Manual PHP Test: A manual call to \voxel\email_queue([…]) successfully wrote to the DB and sent the mail. The mailing function itself is healthy.

Database Evidence: In wp_voxel_notifications, entries are created, but the details JSON only contains inapp data and post_id. The “email” key is entirely missing in the DB entries, even though the global voxel_settings JSON shows “email”:{“enabled”:true} for these events.

Issue: The notification logic seems to skip the email generation step entirely before reaching the queue. Is there a PHP 8.3 incompatibility or a specific database flag/index issue caused by the migration that prevents the email payload from being created?

Thank you