Warning: Illegal string offset 'validate' in /home/designxc/public_html/wp-content/themes/enfold/functions.php on line 19

Fatal error: Uncaught Error: Cannot use string offset as an array in /home/designxc/public_html/wp-content/themes/enfold/functions.php:19 Stack trace: #0 /home/designxc/public_html/wp-includes/class-wp-hook.php(286): required_fields_func(Array, Array) #1 /home/designxc/public_html/wp-includes/plugin.php(208): WP_Hook->apply_filters(Array, Array) #2 /home/designxc/public_html/wp-content/plugins/cred-frontend-editor/application/controllers/form_rendering.php(118): apply_filters('cred_filter_fie...', Array, Array) #3 /home/designxc/public_html/wp-content/plugins/cred-frontend-editor/application/controllers/translate_field_factory.php(214): CRED_Form_Rendering->add('textfield', 'first_name', '', Array, Array) #4 /home/designxc/public_html/wp-content/plugins/cred-frontend-editor/application/models/field/field.php(144): CRED_Translate_Field_Factory->cred_translate_field('first_name', Array, Array) #5 /home/designxc/public_html/wp-content/plugins/cred-frontend-editor/application/controllers/field_factory.php(7): CRED_Field->get_ in /home/designxc/public_html/wp-content/themes/enfold/functions.php on line 19