I'm getting the exact same problem described in: https://wp-types.com/forums/topic/fatal-error-call-to-undefined-function-wpcf_admin_add_js_settings/
As suggested, I've tried adding the following code to my child theme functions.php:
add_action('init', 'types_tml_fix'); function types_tml_fix() { require WPCF_EMBEDDED_ABSPATH . "/admin.php"; }
When I add these lines to functions.php I get:
Parse error: syntax error, unexpected T_STRING, expecting T_FUNCTION
After i get this error I find the only way I can recover is to revert back to the previous working copy of functions.php.
Removing the added code does not help.
I'm fairly new to modifying WP code. Is there a particular place in functions.php that I need to add these lines?
I've tried putting it in a few different places but can't seem to get it to work…
Thanks for your help.
Janet