Title: Image errors (php7?)
Last modified: November 29, 2017

---

# Image errors (php7?)

 *  [Antonio Trifirò](https://wordpress.org/support/users/conlaccento/)
 * (@conlaccento)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/image-errors-php7/)
 * Hi,
 * I developed a website on php 5.6 and your plugin works like a charm.
    Now I migrate
   the site to production environment with PHP7 and if I try to load an image for
   header I get this error in console: `Uncaught TypeError: Cannot read property'
   url' of undefined` In generated PDF, also, instead of images I have a little 
   red cross.
 * It could be a PHP7 issue or something else?
 * Thanks!

Viewing 1 replies (of 1 total)

 *  Thread Starter [Antonio Trifirò](https://wordpress.org/support/users/conlaccento/)
 * (@conlaccento)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/image-errors-php7/#post-9748971)
 * Thanks, I solved with this [https://wordpress.org/support/topic/pdf-images-not-showing-in-pdfs/](https://wordpress.org/support/topic/pdf-images-not-showing-in-pdfs/)

Viewing 1 replies (of 1 total)

The topic ‘Image errors (php7?)’ is closed to new replies.

 * ![](https://ps.w.org/dk-pdf/assets/icon-256x256.png?rev=3396282)
 * [DK PDF - WordPress PDF Generator](https://wordpress.org/plugins/dk-pdf/)
 * [Support Threads](https://wordpress.org/support/plugin/dk-pdf/)
 * [Active Topics](https://wordpress.org/support/plugin/dk-pdf/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dk-pdf/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dk-pdf/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [Antonio Trifirò](https://wordpress.org/support/users/conlaccento/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/image-errors-php7/#post-9748971)
 * Status: not resolved