Registration page error
-
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 227Do I need to run apache 7?
thanx
-
Hey @pekos,
When you go in Users -> Registration forms, do you see the default registration form? Did you do the database upgrade?
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
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 http://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.
-
This reply was modified 7 years, 11 months ago by
Alessandro Tesoro.
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
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_fieldsThe “wp” prefix might differ if something else was specific when your installed WordPress on your host.
@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.ww.wp.xz.cn/plugins/temporary-login-without-password/ I’ll have a look at it.
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
Hey @pekos,
I had replied to your email right after your sent me yours, I’ve just re-sent it now.
-
This reply was modified 7 years, 11 months ago by
Alessandro Tesoro.
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? -
This reply was modified 7 years, 11 months ago by
The topic ‘Registration page error’ is closed to new replies.