Empty Cookie Policy page
-
Hello, I would appreciate a help regarding cookie policy page complianz generated for my page. It is completely blank. The code I see whlile editing the page “[cmplz-document type=”cookie-statement” region=”eu”]”
Maybe it has something to to do with a lot of red cookies and service description.
You can see the screenshot here: https://postimg.cc/KK9p2FWh
(I have tried to remove these red cookies but it did not help)
Thank you!
The page I need help with: [log in to see the link]
-
Hi @petercassagi,
The ‘red cookies/services’ as shown in your screenshot are most-likely unrelated to this, as the entire document isn’t there, not just the Cookie List.
Are you using the Gutenberg or Classic Editor on this website? Perhaps you can attach a screenshot of what you currently see when editing the page?
Could you try creating a new page, and insert the shortcode
[cmplz-document type="cookie-statement" region="eu"]manually inside of a “Shortcode” block?Kind regards,
JarnoHello @jarnovos , Thank you for your response.
I have tried creating a new page with [cmplz-document type=”cookie-statement” region=”eu”] but it did not solve the issue. The result is the same.
I am using Classic Editor. See the screenshot.
https://postimg.cc/yDFHx9XyI have tried putting it there in both “visual” and “text”. Not sure about “shortcode block” method, if you can navigate me there, I would be thankful.
Hi @petercassagi,
The “shortcode block” would only apply to the Gutenberg editor. As for the Classic Editor and your screenshot: it looks like there are some HTML symbols (such as
") in the shortcode, instead of double quotes.Could you remove the current shortcode from the page, click the “Text” tab and paste
[cmplz-document type="cookie-statement" region="eu"]in there?Hope it helps!
Kind regards,
JarnoHello @jarnovos , I have tried that as well (even though there is something else on the screen shot). Tried it once again but the result is the same 🙁 Blank page.
Can I create a page manually with some content I find on the internet and link it somehow to this page? SO it works when ppl click on the link in cookie bar.
Hi @petercassagi,
I have one more suspicion as to the possible cause of the issue, could you verify that your Permalink settings under Settings > Permalinks in the left-hand WordPress Menu are not set to “Plain”, but to one of the Pretty Permalinks options such as Post name?
Hi @jarnovos , it was set to Post Name.
Hi @petercassagi,
Does a shortcode like [cmplz-cookies] or [cmplz-manage-consent] work on this page?
Maybe it’s the template, or a theme setting that shortcodes are stripped.
regards Aert
Hello @aahulsebos ,
thank you for your efforts. I have contacted the person who created the original web, maybe he can bring some light into it.In case of short code, can you be please mroe specific? What currently is on the page is this: [cmplz-document type=”cookie-statement” region=”eu”]
SHould I modify part of the code or delete it as it is and try only [cmplz-cookies] or [cmplz-manage-consent]? if so, I have tried it without luck. If the first longer code should be modified, I am not sure how exactly.
Hi @petercassagi,
We have seen this happening once before. We then missed the very first step. Could you please verify that you have in fact completed the Complianz wizard, and have selected the Cookie Policy to be “Generated by Complianz” in the second step of the wizard?
After you have confirmed these settings, please navigate to the second last step (documents) and generate the cookie Policy once again via the wizard.
The ‘cookies in red’ would indicate that the synchronization with cookiedatabase.org didn’t complete. While you’re in the wizard, please visit Consent -> Cookie descriptions as well and issue a new sync. If this doesn’t help, please check the browser console for errors as well.
We’re happy to read your findings 🙂
Regards,
Leonas Jarno said, there is some strange code in the shortcode. It looks like some plugin is escaping the shortcode.
Please deactivate all plugins and switch to a default theme. Then re-paste the shortcode as described by Jarno, or delete and regenerate the cookie policy.
If it works then, you’ll know it’s one of your plugins or the theme causing the issue.
-
This reply was modified 3 years, 8 months ago by
Rogier Lankhorst.
Thank you @rogierlankhorst @leonwimmenhoeve
I have tried Health Check & Troubleshooting plugin. I have found out that the issue is in our custome theme. When I turn it off, it works. However, I am no longer in contact with the one, who created it, therefore I have limited options.
I know your time is limited and you helped me a lot so far, I am in no place to ask for more. I see only two options – different plugin or manually write down all the content which is generated automatically. Can I do that? Will the plugin works this way?
Thank you!
Hello @petercassagi,
As you’ve managed to identify the theme as the culprit here, I have one more suggestion that you can try, which is to change the Template of the Cookie Policy page.
You can do this by navigating to Pages > All Pages and clicking “Quick Edit” under your Cookie Policy page, then try if switching the Template to another option causes the content to appear as expected.

If this doesn’t work either, you can indeed have the plugin convert the document shortcode to actual HTML content that can be copied and pasted.
To do so, Edit the Cookie Policy page with an editor such as Gutenberg or Classic Editor, and you will find an option named “Document sync status” in the menu.

Selecting ‘Edit document and stop synchronization’ converts the shortcode to HTML content, ready to be copied/edited as desired.
Kind regards,
JarnoHello @jarnovos , it seems changing the template did the magic. I have found there “cookies” option and I think it works just fine. Thank you for your time and effort 🙂
Hi @petercassagi,
Very glad to hear this, thank you for confirming the solution!
If you’re happy with our assistance, it would be really great if you could post a review:
https://ww.wp.xz.cn/support/plugin/complianz-gdpr/reviews/#new-postKind regards,
JarnoThis might help someone. Had the same problem – an empty page was generated. Mine was solved by disabling AdBlock on the page.
-
This reply was modified 3 years, 8 months ago by
The topic ‘Empty Cookie Policy page’ is closed to new replies.