Hi @keengamer,
Indeed, seems that I wrote a wrong path in my previous post. Excuse me if that caused any confusion.
But the behavior differs in your case, as opening the file doesn’t result in a 403 Forbidden error; although it does result in an empty PDF file being downloaded.
The first thing I would try here is to give the plugin a bit of a nudge, so that it tries regenerating the document. Under Complianz -> Terms & Conditions -> Questions -> Communication, you will see the question Do you want to limit the interpretation of this document to your current language?
Change the answer of this question to the other answer than you currently have it set to, save settings, and then change it back to the ‘original’ setting; then check if that resolves the behavior.
If not, you can indeed decide to simply remove this section from your document; which you can do by editing the page in the Gutenberg editor, selecting the document block and setting the “Document Sync” option to “Edit document and stop synchronization”.
Kind regards, Jarno
Switching the settings does not help. Still 0 B. Well, I don’t really want to stop syncing it if there will be some change in the future from your part, it would be fine to have it updated…
Hi @keengamer,
It looks like the download issue with the 0 byte file starts occurring as soon as the “WP External Links” plugin is enabled. If I disable that plugin it instantly resolves the issue.
Strange thing is that even if I exclude this link or the page/post ID in that plugin, it doesn’t fix the issue. But disabling that plugin entirely does work. Not sure what that plugin does exactly which causes this though.
An alternative to remove the section from the document without ‘unsyncing’ it from the Wizard, would be to use a PHP snippet which replaces the HTML.
Adding this snippet as a .php file in the /wp-content/mu-plugins/
folder on your site should do the trick: cmplz-edit-tc-html.php
Kind regards, Jarno
Here is the solution https://wordpress.org/support/topic/not-working-with-complianz/
It works. I’m surprised that you figured out that it’s doing that plugin 🙂
-
This reply was modified 1 year, 2 months ago by
keengamer.
Hi @keengamer,
Awesome, thanks for sharing the solution here as well!
I was trying to replicate the behavior that I saw on your site but just couldn’t get it to occur whatever I did, so I finally tried installing that plugin as it was one of the only things I hadn’t tried yet 😛
Kind regards, Jarno