Support request, plugin: PDF Light Viewer Pro Addon can not make text searchable (Trying to access array errors)

QuestionsCategory: PDF Light ViewerSupport request, plugin: PDF Light Viewer Pro Addon can not make text searchable (Trying to access array errors)
AvatarMatthew Strange asked 3 months ago

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

supportsupport replied 3 months 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