$redirectURL is actually a \SilverStripe\Forms\FormRequestHandler instance, so users are always forced to incorrectly redirect to /SilverStripe/Forms/FormRequestHandler whenever a VersionedDataObject is published. Additional checks to ensure $redirectURL is a string should be added, or these lines should be removed.
https://github.com/unclecheese/silverstripe-gridfield-betterbuttons/blob/eeeb5b4700d565b32a43fb41a7df9a8333263a59/src/Extensions/GridFieldBetterButtonsItemRequest.php#L351-L353
$redirectURL
is actually a\SilverStripe\Forms\FormRequestHandler
instance, so users are always forced to incorrectly redirect to/SilverStripe/Forms/FormRequestHandler
whenever aVersioned
DataObject
is published. Additional checks to ensure$redirectURL
is a string should be added, or these lines should be removed.