WordPress.org

Ready to get started?Download WordPress

Forums

User Meta Manager
Has Potential, but Doesn't work (4 posts)

1 star
  1. jamiechong
    Member
    Posted 1 year ago #

    I hope I'm the only one experiencing this problem:

    I've added new custom meta (globally), but then it doesn't show up in the user profile. The keys that I create also don't show up in the "Edit Custom Meta", but they do in the "Delete Custom Meta"

    What's going on?

  2. jamiechong
    Member
    Posted 1 year ago #

    I am getting this PHP Warning when I view a user's profile page.

    PHP Warning: Illegal offset type in isset or empty in /path-to/wp-content/plugins/user-meta-manager/user-meta-manager.php on line 917

  3. jamiechong
    Member
    Posted 1 year ago #

    I found your issues:

    You're using the foreach loop improperly here:

    Line: 456:
    foreach($sort_order as $profile_field_name):

    You expect the key, but this is giving you the value. Use this instead:
    foreach($sort_order as $profile_field_name => $sortValue):

    Similarly you have the same problem here:

    Line: 916:
    foreach($sort_order as $profile_field_name):

    You probably have the same issue elsewhere, but these immediately stood out to me.

  4. President McCheese
    Member
    Plugin Author

    Posted 1 year ago #

    Please report bugs in the support section and not in the reviews section. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.