• Resolved dromanov31

    (@dromanov31)


    Hello!

    After the last plugin update I can’t upload new images to gallery.

    Server log shows PHP Fatal Error:
    PHP Fatal error: Uncaught Error: Call to undefined function imagecreatefromjpeg() in /home/users/u/user/domains/example.com/wp-content/plugins/photo-gallery/filemanager/UploadHandler.php:470\nStack trace:\n#0 /home/users/u/user/domains/example.com/wp-content/plugins/photo-gallery/filemanager/UploadHandler.php(508): bwg_UploadHandler->orient_image(Object(stdClass))\n#1 /home/users/u/user/domains/example.com/wp-content/plugins/photo-gallery/filemanager/UploadHandler.php(774): bwg_UploadHandler->handle_image_file('/home/users/u/u...', Object(stdClass))\n#2 /home/users/u/user/domains/example.com/wp-content/plugins/photo-gallery/filemanager/UploadHandler.php(1002): bwg_UploadHandler->handle_file_upload('/home/users/u/u...', 'spartak-clock.j...', 99023, 'image/jpeg', 0, 0, NULL, '/Misc/')\n#3 /home/users/u/user/domains/example.com/wp-content/plugins/photo-gallery/filemanager/UploadHandler.php(152): bwg_UploadHandler->post()\n#4 /home/users/u/user/domains/example.com/wp-content/plugins/photo-gallery/filemanag in /home/users/u/user/domains/example.com/wp-content/plugins/photo-gallery/filemanager/UploadHandler.php on line 470, referer: https://www.example.com/wp-admin/admin-ajax.php?action=addImages&bwg_width=1150&bwg_height=800&extensions=jpg,jpeg,png,gif,svg&callback=bwg_add_image&bwg_nonce=1dc51aa833&

    Could you please help with this error?

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Fatal Error on image upload’ is closed to new replies.