Title: A PHP 7 Warning
Last modified: April 13, 2019

---

# A PHP 7 Warning

 *  Resolved [HKP](https://wordpress.org/support/users/hiskingdomprophecy/)
 * (@hiskingdomprophecy)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/a-php-7-warning/)
 * Hi Folks,
    Just got this PHP 7 Warning which I pass on to you. I have not seen
   it before. It came after I used WP-Optimize to clean the database – all items
   on your list. FYI, most of our images are provided by Cloudinary CDN and not 
   held on our server. If I need to do anything, please advise. Regards and thanks,
   Angus
 * “[Sat Apr 13 23:08:54.131531 2019] [php7:warn] [pid 17196] [client xxx.186.102.249:
   51843] PHP Warning: filesize(): stat failed for /home/……/wp-content/uploads/https://
   res.cloudinary.com/hkp/image/upload/…./140_oxrjfm.jpg in /home/…../plugins/wp-
   optimize/includes/class-updraft-smush-manager.php on line 542, referer: https://
   www.xxxx.com/wp-admin/admin.php?page=wpo_database “
    -  This topic was modified 7 years, 1 month ago by [HKP](https://wordpress.org/support/users/hiskingdomprophecy/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [LumberHack](https://wordpress.org/support/users/lumberhack/)
 * (@lumberhack)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/a-php-7-warning/#post-11437938)
 * Thanks for sharing this [@hiskingdomprophecy](https://wordpress.org/support/users/hiskingdomprophecy/)
 * We at present do not support images that are stored in a CDN. It is something
   we look to add soon.
 * That said I will address the PHP warning showing up shortly. Thanks
 *  Thread Starter [HKP](https://wordpress.org/support/users/hiskingdomprophecy/)
 * (@hiskingdomprophecy)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/a-php-7-warning/#post-11439341)
 * [@lumberhack](https://wordpress.org/support/users/lumberhack/)
    Thank you for
   your prompt attention and advice. Greatly appreciated. I will leave it all with
   you and mark issue as resolved! Regards and thanks, Angus

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘A PHP 7 Warning’ is closed to new replies.

 * ![](https://ps.w.org/wp-optimize/assets/icon-256x256.png?rev=1552899)
 * [WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance](https://wordpress.org/plugins/wp-optimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-optimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-optimize/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-optimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-optimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-optimize/reviews/)

## Tags

 * [image compression](https://wordpress.org/support/topic-tag/image-compression/)

 * 2 replies
 * 2 participants
 * Last reply from: [HKP](https://wordpress.org/support/users/hiskingdomprophecy/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/a-php-7-warning/#post-11439341)
 * Status: resolved