Troubleshooting
The badge shows the wrong state
- Check the module's Timezone — the schedule is evaluated in that zone, not the visitor's.
- Check 12/24-hour mix-ups in the slots (a 02:00 close on a 20:00 open is 2 a.m. next day, not 2 p.m.).
- Enable Test mode (Advanced tab) with the current date/time to see exactly what the engine computes.
- Clear the site cache — the server-rendered initial state may be cached even though the browser corrects it within seconds.
The badge never appears
- Confirm Show live status is on (Live Status tab).
- Confirm the schedule has at least one slot — a fully closed week with no special days renders nothing at all.
- Check the browser console for JavaScript errors from another extension breaking the page.
Holidays are ignored
- Remember the resolution order: exact date beats ranges beats yearly recurring; only the first matching rule applies.
- A special day owns its date from midnight — an overnight slot from the previous day will not keep you open into a closed holiday. That is by design.
- For recurring entries verify month and day (not "day of week").
Countdown shows but stays empty
- The countdown needs Next-change text enabled (it is part of that block).
- It only appears while a next change exists within the next 14 days — a permanently open schedule has nothing to count down to.
The schedule editor stays empty
- The React editor needs a modern browser (any currently supported browser is fine).
- Check that
media/mod_smartbusinesshours/admin/js/mod_smartbusinesshours.admin.jsloaded (Network tab) and no other extension blocks module scripts.
Structured data is missing from the page source
- Enable Structured data (JSON-LD) in the Business Info & SEO tab.
- The block is emitted only once per page even with multiple module instances — a second instance on the same page will not duplicate it.
- A completely empty schedule produces no schema at all.
Arabic renders left-to-right
- Ensure the ar-AA language pack is active and the page direction is RTL.
- The module styles follow
[dir="rtl"]; a template hard-codingdir="ltr"overrides it.