If the cropper is disabled, the cropperdata will be null. The docblock above the method also says that it can be null, but the method signature doesnt allow null.
[2023-01-12 10:02:25] local.ERROR: Ctessier\NovaAdvancedImageField\AdvancedImage::transformImage(): Argument #2 ($cropperData) must be of type object, null given, called in /var/www/html/vendor/ctessier/nova-advanced-image-field/src/AdvancedImage.php on line 59 {"userId":1,"exception":"[object] (TypeError(code: 0): Ctessier\\NovaAdvancedImageField\\AdvancedImage::transformImage(): Argument #2 ($cropperData) must be of type object, null given, called in /var/www/html/vendor/ctessier/nova-advanced-image-field/src/AdvancedImage.php on line 59 at /var/www/html/vendor/ctessier/nova-advanced-image-field/src/TransformableImage.php:147)
[stacktrace]
If the cropper is disabled, the cropperdata will be null. The docblock above the method also says that it can be null, but the method signature doesnt allow null.