Guide

Privacy Consent troubleshooting

Recurring banner, cookie list, and VIP failures.

Cause: JS error before Interactivity onInit, or unexpected consent state from WP Consent API / GPC.
Fix: Confirm window.prcCookieBanner in the console. Check Interactivity store errors. Verify WP Consent API when enableWPConsentAPI is on.

Cause: WP Consent API inactive or no cookies registered.
Fix: Activate WP Consent API, run Tools → Cookie Scanner, and register cookies. On VIP, confirm prc_get_cookie_list AJAX is not cached.

Cause: Batcache caching AJAX consent responses.
Fix: VIP_Compatibility should send X-Batcache: no early on plugin AJAX. New AJAX actions must be registered in that class’s no-cache list.

Scanner admin scripts missing

Cause: Admin enqueue hook slug mismatch (tools_page_prc-cookie-scanner vs settings_page_…).
Fix: Confirm $hook on the Cookie Scanner screen matches the enqueue guard in Cookie_Scanner.

Was this helpful?