I just purchaced the ‘Pro’ add-on, but when I re-import any PDF after checking the "Enable search through PDF" option, it reports "Import process failed due to the unknown error." (BTW: proper English would be ‘due to AN unknown error’)
Here are the errors reported at the bottom of the import screen:
[pdf-light-viewer] shortcode cannot be rendered due to the error: No converted pages found.
If PDF has been already converted, then probably there were some errors during the import. Please check <a href="https://hilites.net/wp-admin/options-general.php?page=pdf-light-viewer" target="_blank">plugin error log on the settings page and your site error log for errors.
Notice: Trying to access array offset on value of type null in /home/hilites/public_html/wp-content/plugins/pdf-light-viewer/src/controllers/FrontController.php on line 138
Notice: Trying to access array offset on value of type null in /home/hilites/public_html/wp-content/plugins/pdf-light-viewer/src/controllers/FrontController.php on line 142
Notice: Trying to access array offset on value of type null in /home/hilites/public_html/wp-content/plugins/pdf-light-viewer/resources/templates/shortcode-pdf-light-viewer.php on line 4
Notice: Trying to access array offset on value of type null in /home/hilites/public_html/wp-content/plugins/pdf-light-viewer/src/controllers/PdfController.php on line 554
Notice: Trying to access array offset on value of type null in /home/hilites/public_html/wp-content/plugins/pdf-light-viewer/src/controllers/PdfController.php on line 555
Notice: Trying to access array offset on value of type null in /home/hilites/public_html/wp-content/plugins/pdf-light-viewer/src/controllers/PdfController.php on line 556
Your support notice says to attach "server information and log information below" — here it is:
Plugin Requirements
PHP is 5.3 or higher
ImageMagick or GraphicsMagick PHP Extension is loaded
Imagick or Gmagick PHP Wrapper is supported. v.GraphicsMagick 1.3.20 2014-08-16 Q8 http://www.GraphicsMagick.org/
Imagick or Gmagick PDF Support is enabled
GhostScript is supported. v.8.70
Upload folder: /home/hilites/public_html/wp-content/uploads/pdf-light-viewer is writable
Logs folder: /home/hilites/public_html/wp-content/pdf-light-viewer-logs/ is writable
Server Info
os -> Linux server290.web-hosting.com 2.6.32-954.3.5.lve1.4.78.el6.x86_64 #1 SMP Thu Mar 26 08:20:27 EDT 2020 x86_64
php -> 7.4.13
mysql -> 10.3.27-MariaDB-log-cll-lve
wordpress -> 5.6
Theme
Catch Box Pro, 5.1.3, https://catchthemes.com/themes/catch-box-pro
from Catch Themes, https://catchthemes.com/
Plugins
All 404 Redirect to Homepage, 1.20, http://www.clogica.com
All-in-One WP Migration, 7.32, https://servmask.com/
Loginizer, 1.6.5, https://wordpress.org/extend/plugins/loginizer/
PDF Light Viewer Pro Addon, 0.4.0, http://pdf-light-viewer.wp.teamlead.pw/pro/
PDF Light Viewer, 1.4.9, http://pdf-light-viewer.wp.teamlead.pw/
Wordfence Security, 7.4.14, http://www.wordfence.com/
WP-Optimize – Clean, Compress, Cache, 3.1.4, https://getwpo.com
We’re currently running WordPress 5.7.2 and all of these issues are still unresolved.
Also, the "Enable search through the PDF" option fails with this error: "This function cannot be enabled because text was not parsed from PDF. If you’ve imported current PDF in free version, then I’ll need to re-import it. If PDF doesn’t contain text (only images), then this function cannot be enabled for this PDF."
You can see the current pdf at https://hilites.net/current/ and we can give you admin access if you need that to figure out why it is failing.
Update: added link to https://support.wp.teamlead.pw/q/archive-links-to-page-not-found/ in comment above pointing to Patti Burks’ issue which we also experience.
Let’s proceed by email – please email us to support@teamlead.pw. Yes, wordpress dashboard access will be helpful.
Please login or Register to submit your answer
replied 4 years ago
Hello Matthew, thank you for your message and correction. At the moment I cannot replicate the issue on my end. And as far as I can see you could successfully import some PDFs already ( https://hilites.net/current/#page/1 ). Do you still have an issue with the import? If yes, is it possible you to record a short screencast of the import process so I could see the workflow? Thank you in advance
replied 4 years ago
Finally, today (17 Mar, 2021) I got an email with access info. Now I can respond! As of now…
#1: We are not FULLY successfully importing PDFs. Each import throws a bunch of errors, and sometimes it fails to convert, leaving extra PDFs for us to clean up.
#2: The checking "Enable search engine optimization" option fails 100% of the time. (Same as Patti Burks reported in https://support.wp.teamlead.pw/q/archive-links-to-page-not-found/
#3: The PDF archive is empty. (See https://hilites.net/pdf/)
If you want access to the site to test any of these issues, let me know and I'll set up a user for you.
replied 4 years ago
Also, we just updated to WordPress 5.7 — we will try to retest soon and report if anything has improved.