custom field – I am getting error: Exception thrown without a stack frame
I was trying to use this code from GiveWP for an extra field but I am getting an error message:Exception thrown without a stack frame. Here’s the code I used but of course I changed the title, placeholder, and text:
$group->append( give_field( 'text', 'mothersName' ) ->showInReceipt() ->minLength(2) ->label( __( 'Mother\'s Name' ) ->maxLength(30) ->placeholder('Mother\'s name') ->required() // Could instead be marked as readOnly() (optional) ->helpText( __( 'This is a field used to add your mother\'s name' ) ) //how this is displayed is up to the template, but if the template has help text displayed, this is how to set it. ); });``` I have tried and disable plugins but still hasn't worked.