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:

        give_field( 'text', 'mothersName' )
            ->label( __( 'Mother\'s Name' )
            ->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.

dareadel 8 months 2022-06-07T09:16:52-05:00 0 Answers 0 views 0

Leave an answer