• Resolved andrew19951

    (@andrew19951)


    Hi i am getting the following message and cant register anything

    Notice: Undefined offset: 0 in /home3/aenoinousson/public_html/wp-content/plugins/wp-user-manager/includes/wpum-forms/class-wpum-form-registration.php on line 211

    Fatal error: Uncaught Error: Call to a member function exists() on null in /home3/aenoinousson/public_html/wp-content/plugins/wp-user-manager/includes/wpum-forms/class-wpum-form-registration.php:227 Stack trace: #0 /home3/aenoinousson/public_html/wp-content/plugins/wp-user-manager/includes/wpum-forms/class-wpum-form-registration.php(199): WPUM_Form_Registration->get_registration_fields() #1 /home3/aenoinousson/public_html/wp-content/plugins/wp-user-manager/includes/wpum-forms/class-wpum-form-registration.php(342): WPUM_Form_Registration->init_fields() #2 /home3/aenoinousson/public_html/wp-content/plugins/wp-user-manager/includes/abstracts/abstract-wpum-form.php(121): WPUM_Form_Registration->submit(Array) #3 /home3/aenoinousson/public_html/wp-content/plugins/wp-user-manager/includes/wpum-forms/class-wpum-forms.php(95): WPUM_Form->output(Array) #4 /home3/aenoinousson/public_html/wp-content/plugins/wp-user-manager/includes/wpum-shortcodes/shortcodes.php(190): WPUM_Forms->get_form(‘registration’, Array) #5 /home3/aenoinousson in /home3/aenoinousson/public_html/wp-content/plugins/wp-user-manager/includes/wpum-forms/class-wpum-form-registration.php on line 227

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Contributor Alessandro Tesoro

    (@alessandrotesoro)

    Hi @andrew19951

    There’s an issue with the data not being installed, and I’m looking to release a fix shortly.

    Meanwhile if you do not have any registration form or custom fields, you can run the installation manually:

    Open your theme’s functions.php and add the following code:

    function wpum_install_fix() {
    
    	if ( isset( $_GET['wpumfix'] ) && is_admin() && current_user_can( 'manage_options' ) ) {
    
    		wpum_install_default_field_group();
    		wpum_install_fields();
    		wpum_install_cover_image_field();
    		wpum_setup_default_custom_search_fields();
    		wpum_install_registration_form();
    
    		wp_die( 'Done. Now remove the code.' );
    	}
    
    }
    add_action( 'admin_init', 'wpum_install_fix' );

    Now login as admin onto your site, and append ?wpumfix to your site’s url: example.com/wp-admin/?wpumfix

    This will install the data manually and you should see a message when it’s done. Once it’s done, remove the code you just added and you’ll see the data into the admin panel.

Viewing 1 replies (of 1 total)
  • The topic ‘NO REGISTRATION FORM’ is closed to new replies.