Common Issues
A customer did not receive a coupon#
Symptom: the trigger is enabled but no coupon or email arrived.
Cause: most often an abuse prevention limit, a guest account, or the email never left the server.
- Check Marketing > Coupons for a coupon with the customer’s email under Allowed emails. If it exists, the problem is email delivery; see the next issue.
- If no coupon exists, check the trigger requirements: post-purchase, review, cart and referral rewards need a registered customer; post-purchase needs status Processing or Completed.
- Open WooCommerce > SmartCouponX > Advanced. A customer who already holds Max Coupons Per User unused coupons, or who received the same trigger within the Coupon Cooldown Hours, is skipped. Lower the limits or wait.
- Enable Debug Mode and look at WooCommerce > Status > Logs, source
smartcouponx, for error lines such as Coupon creation failed.
Coupons are created but the emails never arrive#
Symptom: the coupon shows in Marketing > Coupons and on My Account, but the inbox is empty.
Cause: the host’s PHP mail is blocked or lands in spam.
- Enable Debug Mode, trigger a coupon and confirm the log says Coupon email sent. If it says Failed to send, PHP mail is disabled on the server.
- Install an SMTP plugin and connect it to a mail service.
- Set From Email Address on the Email tab to an address on a domain that service is authorised to send from.
- Send a test from the SMTP plugin, then trigger a coupon again.
My Account > Referrals shows “Page not found”#
Symptom: the Referrals menu item is there but clicking it gives a 404.
Cause: the rewrite rules were not refreshed after activation (common when the plugin was activated by WP-CLI or on a staging copy).
- Go to Settings > Permalinks.
- Click Save Changes without changing anything.
- Reload the Referrals page.
The referrer was not rewarded#
Symptom: a friend ordered through the link but the referral list is empty or shows Pending / Blocked by limits.
Cause: one of the referral conditions was not met.
- The buyer must be logged in (guest orders are not matched) and must not have any earlier pending, on-hold, processing or completed order.
- The order must reach Processing or Completed. Orders still On hold are not rewarded yet.
- The buyer must have opened the link within the last 30 days in the same browser (the cookie is per browser).
- Blocked by limits means the referrer hit the cooldown or the unused-coupon cap on the Advanced tab; Not rewarded means the coupon could not be created, so check the log.
- Check the Referral Limit on the Referral tab; referrers at the limit receive no further coupons.
The SCX Analytics page shows a database error#
Symptom: a WordPress database error mentioning JSON_EXTRACT or JSON_UNQUOTE.
Cause: the database server is older than MySQL 5.7 or MariaDB 10.2.
- Check the database version under WooCommerce > Status > Database.
- Ask your host to upgrade MySQL or MariaDB. Coupons continue to work in the meantime.
Birthday coupons go out late or not at all#
Symptom: customers with a birthday today receive nothing, or the email arrives a day later.
Cause: WP-Cron only runs when someone visits the site, or the birthday meta is empty or in a format PHP cannot parse.
- Check Tools > Scheduled Actions or a cron plugin for the
smartcouponx_daily_maintenanceevent. - Set up a server cron job that requests
https://your-store.com/wp-cron.php?doing_wp_cronevery hour and defineDISABLE_WP_CRONastrueinwp-config.php. - Confirm the user’s
birthdaymeta is stored as a date such as1990-05-21. - Run
wp cron event run smartcouponx_daily_maintenanceto process today’s birthdays immediately.
Updates are not offered#
Symptom: a newer version exists on technoleet.dev but Dashboard > Updates does not list it.
Cause: the license is inactive, expired or has not been re-checked.
- Open WooCommerce > SCX License and confirm the status is Active and Automatic Update is Enabled.
- Click Check License Status Now.
- If the license has expired, renew it on technoleet.dev, then check again.
- Go to Dashboard > Updates and click Check Again.
