• Resolved lightskinnnn38

    (@lightskinnnn38)


    I am using a WordPress Multisite. On one of my multisites, I click on users and I get this message:

    Warning: Invalid argument supplied for foreach() in /home/libertyh/public_html/wp-content/plugins/wp-members/admin/users.php on line 106

    When I edit a user’s role from Editor to Author I get this:

    Warning: Invalid argument supplied for foreach() in /home/libertyh/public_html/wp-content/plugins/wp-members/admin/user-profile.php on line 161

    Warning: Cannot modify header information – headers already sent by (output started at /home/libertyh/public_html/wp-content/plugins/wp-members/admin/user-profile.php:161) in /home/libertyh/public_html/wp-includes/pluggable.php on line 1179

    Also in the user profile at the very bottom of the page under “WP-Members Additional Fields” I get this:

    Warning: Invalid argument supplied for foreach() in /home/libertyh/public_html/wp-content/plugins/wp-members/admin/user-profile.php on line 56

    Any ideas what could have caused this?

    https://wordpress.org/plugins/wp-members/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter lightskinnnn38

    (@lightskinnnn38)

    Can anyone help me with this?

    Thread Starter lightskinnnn38

    (@lightskinnnn38)

    Went into WP-Members settings > Fields > and clicked “Update Fields” (without making any changes). That seemed to clear up the error message. I don’t know how or why.

    Plugin Author Chad Butler

    (@cbutlerjr)

    It sounds like something might have gone awry with install of the defaults. The error messages you indicated would result from a completely empty setting of registration fields (a setting that is loaded with defaults at install). Updating the fields likely populated the db setting. However, I would suspect that may not necessarily load all of the correct defaults. You may want to consider uninstalling/deleting and doing a fresh/clean install (if you do, delete via the admin panel so that existing db setting are removed – otherwise new ones will not be in place during a fresh install).

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

The topic ‘Warning Messages’ is closed to new replies.