Download PDF - Network Error

WordPress Bug Released
18 January, 2022 07:28:45
Topics: 3
Messages: 11
Hi,
i cant use the download shortcode on a page. I always get an "network error". I tested with download and view.
With view i get this error:
"PDF.js Version 2.6.347 (build: 3be9c65f)
Nachricht: network error"

Any idea whats the problem? If i use the export in backend everything works.
18 January, 2022 08:04:46
E2Pdf
Support
Topics: 7
Messages: 3163
Hi,

By some reason PDF returns incorrect size and due this you see "Network Error". It can be due the plugins conflict or specified server setup (htaccess / compression modules).

Do you use any optimization / minify / compress plugins? If yes - can you try temporary disable it and check if issue will still appear.

If not or it will not help and it's acceptable for you can you please submit support ticket with access details to your WP Admin Dashboard here: https://e2pdf.com/support/request, so we can login and make some tests?
We would really appreciate your feedback at WordPress.org!
18 January, 2022 08:35:44
Topics: 3
Messages: 11
Hi,
i dont think we are using any compress stuff. Our htaccess is just a few redirect lines...

# BEGIN WordPress
# Die Anweisungen (Zeilen) zwischen „BEGIN WordPress“ und „END WordPress“ sind
# dynamisch generiert und sollten nur über WordPress-Filter geändert werden.
# Alle Änderungen an den Anweisungen zwischen diesen Markierungen werden überschrieben.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RewriteCond %{QUERY_STRING} .*author=(.+.?) [NC]
RewriteRule (.*) /blog/?author= [NC,L,R=301]
</IfModule>

# END WordPress

<files ~ "^.*\.([Hh][Tt][Aa])">
order allow,deny
deny from all
satisfy all
</files>
19 January, 2022 00:23:16
Topics: 3
Messages: 11
I found out that this plugin is the problem:
https://de.wordpress.org/plugins/wp-external-links/

Don't know why but deactivating this got rid of the error.
Thanks
19 January, 2022 03:28:12
E2Pdf
Support
Topics: 7
Messages: 3163
Hi,

Thank you for letting us know. We currently could replicate issue on our side. WP External Links plugin changes the output, however it seems we could release a fix from our side. You can try to update plugin to latest RC version (1.17.12) by following steps in current topic: https://e2pdf.com/support/desk/how-to-update-plugin-to-rc-release-candidate-version-from-e2pdf-com. After update - activated WP External Links plugin must not affect E2Pdf functionality.

We remain at your service.
We would really appreciate your feedback at WordPress.org!
19 January, 2022 10:00:52
Topics: 3
Messages: 11
Great thanks - that is working.