Title: undefined function imagecreatefromjpeg()
Last modified: July 20, 2023

---

# undefined function imagecreatefromjpeg()

 *  [tomonsweb](https://wordpress.org/support/users/tomonsweb/)
 * (@tomonsweb)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/undefined-function-imagecreatefromjpeg/)
 * Recently this plugin shows me an error that says undefined function imagecreatefromjpeg().
 * This function is loaded from the GD extension within PHP. This extension is active
   on my server and should be available.
 * PHP version: 8.1
   WordPress version: 6.2.2Server: Nginx
 * **Exact error:**
 *     ```wp-block-code
       "NOTICE: PHP message: PHP Fatal error:  Uncaught Error: Call to undefined function imagecreatefromjpeg() in /var/www/html/web/app/plugins/image-watermark/image-watermark.php:1134"
       ```
   

The topic ‘undefined function imagecreatefromjpeg()’ is closed to new replies.

 * ![](https://ps.w.org/image-watermark/assets/icon-256x256.png?rev=3416802)
 * [Image Watermark](https://wordpress.org/plugins/image-watermark/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/image-watermark/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/image-watermark/)
 * [Active Topics](https://wordpress.org/support/plugin/image-watermark/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/image-watermark/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/image-watermark/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [tomonsweb](https://wordpress.org/support/users/tomonsweb/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/undefined-function-imagecreatefromjpeg/)
 * Status: not resolved