Error thrown

Call to undefined method WP_Image_Editor_GD::get_error_message()