Title: shortpixel-cloudflare-api class missing
Last modified: March 14, 2018

---

# shortpixel-cloudflare-api class missing

 *  Resolved [hrabbach](https://wordpress.org/support/users/hrabbach/)
 * (@hrabbach)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/shortpixel-cloudflare-api-class-missing/)
 * The latest version of the plugin breaks sites because the cloudflare api class
   hasn’t been included.

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

 *  [stevepett](https://wordpress.org/support/users/stevepett/)
 * (@stevepett)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/shortpixel-cloudflare-api-class-missing/#post-10073426)
 * And it won’t de-activate, switches itself on automatically.
 * Warning: require_once(class/wp-shortpixel-cloudflare-api.php): failed to open
   stream: No such file or directory in /homepages/28/d66119722/htdocs/clickandbuilds/
   PFR2017/wp-content/plugins/shortpixel-image-optimiser/wp-shortpixel-req.php on
   line 10
 * Fatal error: require_once(): Failed opening required ‘class/wp-shortpixel-cloudflare-
   api.php’ (include_path=’.:/usr/lib/php7.0′) in /homepages/28/d66119722/htdocs/
   clickandbuilds/PFR2017/wp-content/plugins/shortpixel-image-optimiser/wp-shortpixel-
   req.php on line 10
 *  Thread Starter [hrabbach](https://wordpress.org/support/users/hrabbach/)
 * (@hrabbach)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/shortpixel-cloudflare-api-class-missing/#post-10073444)
 * chmod 000 on the plugin directory at least gives you access again
 *  Thread Starter [hrabbach](https://wordpress.org/support/users/hrabbach/)
 * (@hrabbach)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/shortpixel-cloudflare-api-class-missing/#post-10073464)
 * So basically, delete the wp-content/plugins/shortpixel-image-optimiser folder,
   download the previous version from here as a zip file, upload in your wordpress
   backend and activate and you’re back in business. Ignore the update prompt until
   this has been fixed…
 *  Plugin Author [ShortPixel](https://wordpress.org/support/users/shortpixel/)
 * (@shortpixel)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/shortpixel-cloudflare-api-class-missing/#post-10073480)
 * We apologize for this issue, a fixed version (4.10.1) should be available already.
 * Could you please try to install this and let me know how it works?
 * Thanks for your support and understanding,
    Alex
 *  Thread Starter [hrabbach](https://wordpress.org/support/users/hrabbach/)
 * (@hrabbach)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/shortpixel-cloudflare-api-class-missing/#post-10073623)
 * Thanks, that was quick – I can confirm the 4.10.1 doesn’t break my site 😉
 *  [stevepett](https://wordpress.org/support/users/stevepett/)
 * (@stevepett)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/shortpixel-cloudflare-api-class-missing/#post-10073826)
 * All good, thanks!

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

The topic ‘shortpixel-cloudflare-api class missing’ is closed to new replies.

 * ![](https://ps.w.org/shortpixel-image-optimiser/assets/icon-256x256.gif?rev=3245715)
 * [ShortPixel Image Optimizer - Optimize Images, Convert WebP & AVIF](https://wordpress.org/plugins/shortpixel-image-optimiser/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortpixel-image-optimiser/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortpixel-image-optimiser/)
 * [Active Topics](https://wordpress.org/support/plugin/shortpixel-image-optimiser/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortpixel-image-optimiser/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortpixel-image-optimiser/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [stevepett](https://wordpress.org/support/users/stevepett/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/shortpixel-cloudflare-api-class-missing/#post-10073826)
 * Status: resolved