Bug Report: Uncaught SyntaxError in main.js after recent update
-
Subject: Bug Report: Uncaught SyntaxError in main.js after recent update
Message:
Hello,I noticed a JavaScript error in the console after the recent update of the “GDPR Cookie Compliance” plugin. It seems like there is an issue with JSON.parse in the main.js file.
Error Details:
Uncaught SyntaxError: “[object Object]” is not valid JSON at JSON.parse () at Object.success (main.js:1:49209)Context:
The error appears exactly 2 seconds after the page loads (which aligns with my “Banner initialization delay” setting). It seems like the AJAX response is already being handled as an object by jQuery, but the code tries to JSON.parse it again, causing the error.Environment:
Plugin Version:5.0.13: 26 May 2026 Theme: Designexo Pro PHP Version: 8.3Just wanted to bring this to your attention so it can be patched in the next release. Everything else with the plugin seems to be working fine.
Best regards,
Mario
You must be logged in to reply to this topic.