Hello, we have a problem with your plugin.
When the client tries to import a pdf, a fatal error occurs.
Error Message from WordPress recovery mode
Un errore di
E_ERROR
è stato causato nella linea872
del file/home/editriceti/www/wp-content/plugins/pdf-light-viewer/src/controllers/PdfController.php
. Messaggio di errore:Uncaught ImagickException: UnableToOpenBlob `/home/editriceti/www/wp-content/uploads/pdf-light-viewer/16495/page-00001.jpg': No such file or directory @ error/blob.c/OpenBlob/2712 in /home/editriceti/www/wp-content/plugins/pdf-light-viewer/src/controllers/PdfController.php:872 Stack trace: #0 /home/editriceti/www/wp-content/plugins/pdf-light-viewer/src/controllers/PdfController.php(872): Imagick->readimage('/home/editricet...') #1 /home/editriceti/www/wp-content/plugins/pdf-light-viewer/src/controllers/PdfController.php(700): PdfLightViewer_PdfController::getFirstPageGeometry('300', '60', '/home/editricet...', '/home/editricet...') #2 /home/editriceti/www/wp-includes/class-wp-hook.php(290): PdfLightViewer_PdfController::save_post(16495, Object(WP_Post)) #3 /home/editriceti/www/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters('', Array) #4 /home/editriceti/www/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #5 /home/editriceti/www/wp-includes/post.php(4108): do_action('save_post_pdf_l...', 164
Subject: Support request, plugin: pdf-light-viewer (time: 15.11.2019 13:53:11)
Plugin Requirements
- PHP is 5.3 or higher
- ImageMagick or GraphicsMagick PHP Extension is loaded
- Imagick or Gmagick PHP Wrapper is supported. v.ImageMagick 6.8.9-9 Q16 i586 2019-08-16 http://www.imagemagick.org
- Imagick or Gmagick PDF Support is enabled
- GhostScript is supported. v.9.26
- Upload folder:
/home/editriceti/www/wp-content/uploads/pdf-light-viewer
is writable - Logs folder:
/home/editriceti/www/wp-content/pdf-light-viewer-logs/
is writable
Server Info
- os -> Linux webm032.cluster027.gra.hosting.ovh.net 4.14.119-ovh-vps-grsec-zfs-classid #1 SMP Wed May 15 10:40:34 CEST 2019 x86_64
- php -> 7.3.10
- mysql -> 5.6.39-log
- wordpress -> 5.3
Theme
UnderStrap, 0.9.4, http://understrap.com
from Holger Koenemann, http://www.holgerkoenemann.de
Plugins
- ACF Content Analysis for Yoast SEO, 2.3.0, https://wordpress.org/plugins/acf-content-analysis-for-yoast-seo/
- Advanced Custom Fields PRO, 5.8.6, https://www.advancedcustomfields.com
- Autocomplete For Relevanssi, 0.1, http://www.relevanssi.com/
- Classic Editor, 1.5, https://wordpress.org/plugins/classic-editor/
- Contact Form 7, 5.1.5, https://contactform7.com/
- Custom post type sticky, 1.2, https://wordpress.org/plugins/cpt_sticky/
- Custom Post Type UI, 1.7.1, https://github.com/WebDevStudios/custom-post-type-ui/
- Duplicate Post, 3.2.3, https://duplicate-post.lopo.it/
- Font Awesome, 4.0.0-rc13, https://fontawesome.com/how-to-use/on-the-web/using-with/wordpress
- Hummingbird, 2.1.1, https://premium.wpmudev.org/project/wp-hummingbird/
- Italy Cookie Choices (for EU Cookie Law), 2.5.2, https://github.com/ItalyCookieChoices/italy-cookie-choices
- MC4WP: Mailchimp for WordPress, 4.7, https://mc4wp.com/#utm_source=wp-plugin&utm_medium=mailchimp-for-wp&utm_campaign=plugins-page
- Menu Image, 2.9.5, https://www.jedipress.com
- PDF Light Viewer Pro Addon, 0.3.0, http://pdf-light-viewer.wp.teamlead.pw/pro/
- PDF Light Viewer, 1.4.7, http://pdf-light-viewer.wp.teamlead.pw/
- Really Simple SSL, 3.2.6, https://www.really-simple-ssl.com
- Regenerate Thumbnails, 3.1.2, https://alex.blog/wordpress-plugins/regenerate-thumbnails/
- Relevanssi, 4.3.4, https://www.relevanssi.com/
- Responsive Lightbox & Gallery, 2.2.1, http://www.dfactory.eu/plugins/responsive-lightbox/
- ShareThis Share Buttons, 1.2.10, https://sharethis.com/
- YIKES Simple Taxonomy Ordering, 2.1.0, http://www.yikesinc.com
- User Role Editor, 4.52.1, https://www.role-editor.com
- Yoast SEO, 12.5, https://yoa.st/1uj
- Smush, 3.3.1, http://wordpress.org/extend/plugins/wp-smushit/
Please login or Register to submit your answer
replied 5 years ago
Hello Imaginaria, this is a copy of the message that I’ve sent you by email, just for reference.
We received reports of the similar issues. Here are the list just for reference, maybe it would be helpful for someone else:
https://support.wp.teamlead.pw/?qs=No%20such%20file%20or%20directory
Briefly: Similar issue could be related to the filename. Sometimes underlying software for import PDFs cannot parse non-latin symbols, diacritical marks, etc. from the file name. Could you please try to rename your file to something simple like “example.pdf” or “123.pdf” and then try to import it to check if the issue persists?
If the filename is not the case, did you have import issues with other documents? Could you test import process on the following example: https://abc.xyz/investor/static/pdf/2015Q4_google_earnings_release.pdf ?