Skip to content

v2.5.4 — Fix critical error on audit (KnockKnock)

Choose a tag to compare

@JoshMilli JoshMilli released this 21 Jul 11:52
· 6 commits to main since this release

Hotfix for "There has been a critical error on this website" when running an audit on plans with KnockKnock enabled (Business/Agency).

  • The KnockKnock class is only loaded at plugin-load when the feature flag is on; a mid-request config sync could flip the flag on afterwards, so the audit referenced the class before it was loaded → fatal.
  • The reference is now guarded with class_exists(); the audit runs safely and omits visitor-intelligence data if the module isn't loaded for that request.

Attached zip extracts to conversion-iq/.