UsersWP upgrade not working properly in WordPress 5.2 and Multisite

This topic contains 4 replies, has 3 voices, and was last updated by  Fernando Brenes 5 years, 6 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #4028

    Fernando Brenes
    Buyer
    Post count: 16

    Hi Team,

    First thank you for this great plugin, it’s amazing.

    I installed UsersWP in Multisite using the option:

    define(‘UWP_ROOT_PAGES’, all);

    Following: https://userswp.io/docs/network-activation/#all
    Network Activation for All Sites

    I have noticed the following issues:

    1. Main site creates the pages and form builder has all require fields already configured.

    2. Subsite (subdomain): create the pages however, form builder doesn’t have all fields required. I had to configure each field manually to show them in the register form.

    3. Main issue, register page no longer works in the Main site and Subsite

    You can check the error here: https://zonamotriz.com/register
    Just try to register you will get these errors and the account is never created.

    Notice: Undefined index: uwp_account_username in /home/nginx/domains/zonamotriz.com/public/wp-content/plugins/userswp/includes/class-forms.php on line 290

    Notice: wpdb::prepare se llamó incorrectamente. Tipo de valor no compatible (object). Por favor, visita Depuración en WordPress para más información. (Este mensaje se añadió en la versión 4.8.2.) in /home/nginx/domains/zonamotriz.com/public/wp-includes/functions.php on line 4773

    Warning: mysqli_real_escape_string() expects parameter 2 to be string, object given in /home/nginx/domains/zonamotriz.com/public/wp-includes/wp-db.php on line 1172

    Notice: wpdb::prepare se llamó incorrectamente. Tipo de valor no compatible (object). Por favor, visita Depuración en WordPress para más información. (Este mensaje se añadió en la versión 4.8.2.) in /home/nginx/domains/zonamotriz.com/public/wp-includes/functions.php on line 4773

    Warning: mysqli_real_escape_string() expects parameter 2 to be string, object given in /home/nginx/domains/zonamotriz.com/public/wp-includes/wp-db.php on line 1172

    Notice: Trying to get property ‘user_login’ of non-object in /home/nginx/domains/zonamotriz.com/public/wp-content/plugins/userswp/includes/class-forms.php on line 1042

    Notice: Trying to get property ‘user_email’ of non-object in /home/nginx/domains/zonamotriz.com/public/wp-content/plugins/userswp/includes/class-emails.php on line 42

    Notice: Object of class WP_Error could not be converted to int in /home/nginx/domains/zonamotriz.com/public/wp-content/plugins/userswp/includes/class-emails.php on line 287

    Notice: Object of class WP_Error could not be converted to int in /home/nginx/domains/zonamotriz.com/public/wp-includes/author-template.php on line 345

    Notice: Trying to get property ‘user_login’ of non-object in /home/nginx/domains/zonamotriz.com/public/wp-content/plugins/userswp/includes/class-profile.php on line 738

    Notice: Trying to get property ‘display_name’ of non-object in /home/nginx/domains/zonamotriz.com/public/wp-content/plugins/userswp/includes/class-emails.php on line 293

    Notice: Trying to get property ‘user_login’ of non-object in /home/nginx/domains/zonamotriz.com/public/wp-content/plugins/userswp/includes/class-emails.php on line 294

    Notice: Trying to get property ‘display_name’ of non-object in /home/nginx/domains/zonamotriz.com/public/wp-content/plugins/userswp/includes/class-emails.php on line 295

    Notice: Trying to get property ‘user_login’ of non-object in /home/nginx/domains/zonamotriz.com/public/wp-content/plugins/userswp/includes/class-emails.php on line 296

    Notice: Object of class WP_Error could not be converted to int in /home/nginx/domains/zonamotriz.com/public/wp-content/plugins/userswp/includes/class-emails.php on line 287

    Notice: Object of class WP_Error could not be converted to int in /home/nginx/domains/zonamotriz.com/public/wp-includes/author-template.php on line 345

    Notice: Trying to get property ‘user_login’ of non-object in /home/nginx/domains/zonamotriz.com/public/wp-content/plugins/userswp/includes/class-profile.php on line 738

    Notice: Trying to get property ‘display_name’ of non-object in /home/nginx/domains/zonamotriz.com/public/wp-content/plugins/userswp/includes/class-emails.php on line 293

    Notice: Trying to get property ‘user_login’ of non-object in /home/nginx/domains/zonamotriz.com/public/wp-content/plugins/userswp/includes/class-emails.php on line 294

    Notice: Trying to get property ‘display_name’ of non-object in /home/nginx/domains/zonamotriz.com/public/wp-content/plugins/userswp/includes/class-emails.php on line 295

    Notice: Trying to get property ‘user_login’ of non-object in /home/nginx/domains/zonamotriz.com/public/wp-content/plugins/userswp/includes/class-emails.php on line 296

    Thank you,
    Best Regards

    #4029

    Fernando Brenes
    Buyer
    Post count: 16

    Hi,

    I looked further the problem reading the first line:

    Notice: Undefined index: uwp_account_username in /home/nginx/domains/zonamotriz.com/public/wp-content/plugins/userswp/includes/class-forms.php on line 290

    My Form Builder has the field: username inactive.
    So I had to activate the field to make it work, however, I don’t want the field to be active. The reason for this is because it’s easier for customers to remember only their email address. I believe if we deactivate a field in the form builder then it shouldn’t crash in looking uwp_account_username in class-forms.php

    Please let me know.
    Thank you,
    Best Regards

    #4033

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    the developers have been alerted and will look into this.

    They’ll let you know what is the proposed solution, most likely after the weekend.

    Thanks for your patience…

    #4034

    Alex Rollin
    Moderator
    Post count: 27815

    Username is required. Use of the email as the username is a customization, outside of what we can help with in support and for which you would need to code the solution yourself. We do not provide a workaround for it at this time. All things change with time, so the developers will post an update here if that has changed.

    #4035

    Fernando Brenes
    Buyer
    Post count: 16

    Hi Alex,

    Thank you. Not a problem I can do the change if needed 🙂

    Just a suggestion if it’s mandatory then the option is mandatory in form builder for username should be checked and disable or maybe should a message that is currently mandatory.

    Thanks
    Best regards

Viewing 5 posts - 1 through 5 (of 5 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket