PDFG Support
Forum Replies Created
-
Forum: Plugins
In reply to: [PDF Embedder] Invalid PDF structureHi @hamzashaikh,
An “Invalid PDF Structure” error could happen for a multiple of reasons:
- theme reformatting the shortcode quotes ” into curly quotes (take a look in the Text tab of the editor if you aren’t using the PDF block with the new WP 5+ editor, do you see straight quotes or curly ones,
- SSL inconsistencies between the back and front ends of the site (both the front and back end should share the same HTTP or HTTPS protocol),
- excessively large PDFs causing the server to time out (compressing the size of your PDF using a service such as https://www.ilovepdf.com/compress_pdf is very effective),
- corruption of the PDF document itself, or
- the file URL not being entered into a manual shortcode.
Are you experiencing this issue with all of your PDFs or only with certain ones? If it is only certain ones then the size or corruption of the document is the most likely cause.
Emma
Forum: Plugins
In reply to: [PDF Embedder] PDF Embedder Premium: Uncaught EvalError: Refused to evaluateHi @vezraimanuel,
Credentials received, thank you. I will forward them to the developer for investigation.
Emma
Forum: Plugins
In reply to: [PDF Embedder] Twenty Twenty ThemeHi @securityfarm,
The TwentyTwenty theme appears to have a maximum content width of 580px. In the PDF Embedder main settings tab, set the maximum width for the PDF Embedder viewer to 580.
Next, apply the following CSS to the site (you may want to adjust the 0 to increase the top and bottom margins accordingly):
/* FIX 2020 VIEWER BUG */ .pdfemb-viewer { max-width: 100% !important; margin: 0 auto !important; }That has worked for others experiencing this issue.
If you have any other questions, please feel free to send an email to contact@wp-pdf.com as we may not see messages posted here to respond in a timely fashion.
Forum: Plugins
In reply to: [PDF Embedder] PDF Embedder Premium: Uncaught EvalError: Refused to evaluateHi @vezraimanuel,
Could you send the site credentials to contact@wp-pdf.com so I can forward those to the developer for investigation.
Thanks!
EmmaForum: Plugins
In reply to: [PDF Embedder] IE11 ProblemHi @tiagobortolini,
You’ll need to contact us at contact@wp-pdf.com as I have no way of providing you a link to the previous version through this forum.
Emma
Forum: Plugins
In reply to: [PDF Embedder] Setting up fake worker failed – WP RocketHi @verdipro,
Please see the following FAQ on the settings for the caching plugin + the PDF Embedder Secure plugin. You no longer need to exclude the scripts but you need to make one tiny adjustment to the caching settings: https://wp-pdf.com/kb/setting-up-fake-worker-failed-error-message/
If you have any other questions, please feel free to send an email to contact@wp-pdf.com as we may not see messages posted here to respond in a timely fashion.
Emma
Forum: Plugins
In reply to: [PDF Embedder] PDF Embedder Premium: Uncaught EvalError: Refused to evaluateHi @vezraimanuel,
I’m not able to reproduce this error on any of my test sites and upon further investigation this is an issue related to the headers set in your site. The error you’re seeing is related to the Content Security Policy that’s set in the headers and would need to be adjusted there.
Forum: Plugins
In reply to: [PDF Embedder] Option to choose if pdf is embedded or linkedHi @jussitrival,
There currently isn’t an option in the PDF Embedder plugin to set whether a document is added as the embedded viewer or as a link—I will add your comments to our feature request for future development.
In the meantime, I do have a workaround for you. If you want to add the PDF as a link instead of the embedded viewer, you can make use of the File Block which allows you to add a file as a link within your page/post content. It also gives you the option of including a download button to that document. Please see https://gutenberghub.com/blocks/file-block/
Emma
Forum: Plugins
In reply to: [PDF Embedder] embed with specific page numberWith the Premium or Secure version of the PDF Embedder plugin, you can use the shortcode attribute page=”#” to have the PDF document automatically load on a set page. Please see https://wp-pdf.com/premium-instructions/shortcodes/
Emma
Forum: Plugins
In reply to: [PDF Embedder] Cannot load script atHi @cleitonbergo,
There is an error showing up in the browser’s console tab:
Access to fetch at 'https://xxx/wp-content/uploads/2019/08/Edital-gradua%C3%A7%C3%A3o-EAD-2019.pdf' from origin 'https://xxx' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.This is an entirely separate issue from the caching. Please see the following FAQ to fix the CORS permissions: https://wp-pdf.com/kb/hosting-pdfs-on-other-services-such-as-amazon-s3/
Forum: Plugins
In reply to: [PDF Embedder] Cannot load script atHi @cleitonbergo,
Your cached file is going to be identified uniquely from another site. Your cached file is located at: /cache/autoptimize/js/autoptimize_dbc66ce0501ec7f2032b2b2e87c6765c.worker.js
Emma
Forum: Plugins
In reply to: [PDF Embedder] IE11 ProblemForum: Plugins
In reply to: [PDF Embedder] Autoptimize Plugin IssueHi @mertimiks,
You also need to make sure that the “aggregate inline JS” is not active. When the exclusion is active, you should then see the two javascript files (all-pdfemb-basic.min.js and pdf.min.js) in the Network tab of the browser’s developer tools and the pdf.worker.min.js will appear in the sources tab of the developer tools when the page is loaded.
I’ll send this information along in the email you also sent to us to make sure you get the reply.
Emma
Forum: Plugins
In reply to: [PDF Embedder] Failed to fetch ОшибкаЗдравствуй @mir2017faberlic,
Я не могу видеть предоставленную вами ссылку, так как она является предварительным просмотром и требует активного входа на ваш сайт. Пожалуйста, ознакомьтесь с нашими часто задаваемыми вопросами об общих ошибках “Не удалось получить” и о том, как их исправить: https://wp-pdf.com/kb/failed-to-fetch/
Если у вас есть другие вопросы, пожалуйста, отправьте электронное письмо на адрес contact@wp-pdf.com поскольку мы не можем видеть сообщения, размещенные здесь, чтобы ответить своевременно. Извиняюсь за любые ошибки перевода.
Emma
Forum: Plugins
In reply to: [PDF Embedder] IE11 ProblemHi @mbamutuelle,
IE11 is at the end of its support life by Microsoft and unfortunately doesn’t support the updated scripts that we’ve needed to upgrade to in order to improve performance with other modern browsers.
Can you please send an email to contact@wp-pdf.com and reference this thread as I may have an option available to you.
Emma