• Resolved pekos

    (@pekos)


    Hello

    there is an error coming up in the registration page:

    Fatal error: Call to a member function exists() on a non-object in /wp-content/plugins/wp-user-manager/includes/wpum-forms/class-wpum-form-registration.php on line 227

    Do I need to run apache 7?
    thanx

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

    (@alessandrotesoro)

    Hey @pekos,

    When you go in Users -> Registration forms, do you see the default registration form? Did you do the database upgrade?

    Thread Starter pekos

    (@pekos)

    Ciao @alessandrotesoro

    i don’t see a registration form.
    I am sure i did the database upgrade yday after updating to the “incomplete” plugin.
    Problem now is i don’t see a button to create a registration form.

    thanx

    Plugin Contributor Alessandro Tesoro

    (@alessandrotesoro)

    That’s strange, the database upgrade should have installed the form if the it did complete. I’ve run multple tests I’m even using the plugin on wpusermanager.com with no issues.

    Anyways, if there’s no form in the editor it should mean the database upgrade didn’t complete correctly.

    A quick fix would be to force the installation of the form. To do so, add this snippet to your theme’s functions.php file

    function wpum_pekos_fix() {
    
    	if ( isset( $_GET['pekos'] ) && is_admin() && current_user_can( 'manage_options' ) ) {
    		wpum_install_registration_form();
    		wp_die('Done');
    	}
    
    }
    add_action( 'admin_init', 'wpum_pekos_fix' );

    Now login as an admin onto your site, and within your dashboard, append ?pekos to your site url so for example it’ll be https://www.example.com/?pekos

    It’ll run the registration form installation function and you should see a message after that. You can remove the snippet from your functions.php file after.

    Let me know if that fixes the issue.

    Thread Starter pekos

    (@pekos)

    Ciao Alessandro

    unfortunately it did not.
    I ran once in my child theme functions.php.
    I ran again in the parent theme functions.php.

    I ran of course as you said from the dashboard.
    While appending the ?pekos to main URL, i saw the main page without any notification.
    I also ran from the dashboard by appending ?pekos after /wp-admin/ in this case i saw ‘done’ page but the registration form is still not there.
    Any other way to force the db update? Should i run a specific SQL query ?

    Thanx

    Plugin Contributor Alessandro Tesoro

    (@alessandrotesoro)

    If not even that is working, something else is wrong on your site.

    Do you see the following database tables on your site?

    wp_wpum_fieldmeta
    wp_wpum_fields
    wp_wpum_fieldsgroups
    wp_wpum_registration_formmeta
    wp_wpum_registration_forms
    wp_wpum_search_fields

    The “wp” prefix might differ if something else was specific when your installed WordPress on your host.

    Thread Starter pekos

    (@pekos)

    Hi @alessandrotesoro

    the only table i can see is wp_wpum_fields. All the rest is missing.

    thanx

    Plugin Contributor Alessandro Tesoro

    (@alessandrotesoro)

    @pekos, it would mean the upgrade did not even start that’s why you’re experiencing the error, it’s basically missing all the new database tables. Would you please send me an email at support[at]wpusermanager.com with a temporary account that you can create with https://en-gb.www.ads-software.com/plugins/temporary-login-without-password/ I’ll have a look at it.

    Thread Starter pekos

    (@pekos)

    Hi @alessandrotesoro

    i just sent you an email with all necessary details.

    thanx

    Thread Starter pekos

    (@pekos)

    Hi @alessandrotesoro

    any news? How can i have the tables?
    Just to let you know that also redirects dont work… i hope this is also because of the missing tables.
    BTW i have upgraded but no changes even after the upgrade.

    thanx

    Plugin Contributor Alessandro Tesoro

    (@alessandrotesoro)

    Hey @pekos,

    I had replied to your email right after your sent me yours, I’ve just re-sent it now.

    Thread Starter pekos

    (@pekos)

    Hi @alessandrotesoro

    to which i had already replied with temporary login. Nevertheless i resent one just now. Please let me know if you received.

    thanx

    Hello
    I am having the same issue. Is it possible to get some help please?

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Registration page error’ is closed to new replies.