Title: Uncaught Error: Remove field
Last modified: October 10, 2018

---

# Uncaught Error: Remove field

 *  [metiusss](https://wordpress.org/support/users/metiusss/)
 * (@metiusss)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/uncaught-error-remove-field/)
 * If i add to child/functions.php
 * this function:
    function remove_password_strength_meter_from_registration() {
   tml_remove_form_field( ‘resetpass’, ‘indicator’ ); tml_remove_form_field( ‘resetpass’,‘
   indicator_hint’ ); } add_action( ‘init’, ‘remove_password_strength_meter_from_registration’);
 * or this one:
    [https://docs.thememylogin.com/article/89-adding-a-checkbox-for-gdpr-compliance](https://docs.thememylogin.com/article/89-adding-a-checkbox-for-gdpr-compliance)
 * i get error
 * Uncaught Error: Call to undefined function tml_remove_form_field() in wp-content/
   themes/disputo-child/functions.php:33
    Stack trace: #0 wp-includes/class-wp-hook.
   php(286): remove_password_strength_meter_from_registration(”) #1 wp-includes/
   class-wp-hook.php(310): WP_Hook->apply_filters(true, Array) #2 wp-includes/plugin.
   php(453): WP_Hook->do_action(Array) #3 wp-settings.php(450): do_action(‘init’)#
   4 wp-config.php(91): require_once(‘/home/mysite/p…’) #5 wp-load.php(37): require_once(‘/
   home/mysite/p…’) #6 wp-admin/admin.php(31): require_once(‘/home/mysite/p…’) #
   7 wp-admin/theme-editor.php(10): require_once(‘/home/mysite/p
 * how can i solve this?
 * thank you

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * (@jfarthing84)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/uncaught-error-remove-field/#post-10771890)
 * Can you try using [theme-my-login-custom.php](https://docs.thememylogin.com/article/63-using-theme-my-login-custom-php)?
 *  Thread Starter [metiusss](https://wordpress.org/support/users/metiusss/)
 * (@metiusss)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/uncaught-error-remove-field/#post-10771979)
 * Hello Jeff,
 * author’s theme wrote me
 * So, sorry but this function ( tml_remove_form_field() ) doesn’t exist in the 
   custom version of TML plugin which is in the theme package.
 * when i upload theme-my-login-custom.php with gdpr function inside
    i get blank
   page
 *  Plugin Author [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * (@jfarthing84)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/uncaught-error-remove-field/#post-10772780)
 * The function is included in TML 7+, which is here in the plugin repository.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Uncaught Error: Remove field’ is closed to new replies.

 * ![](https://ps.w.org/theme-my-login/assets/icon-256x256.png?rev=1891232)
 * [Theme My Login](https://wordpress.org/plugins/theme-my-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/theme-my-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/theme-my-login/)
 * [Active Topics](https://wordpress.org/support/plugin/theme-my-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/theme-my-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/theme-my-login/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/uncaught-error-remove-field/#post-10772780)
 * Status: not resolved