• Steps to re-produce:
    Goto any user
    wp-admin/user-edit.php?user_id=1070&wp_http_referer=%2Fwp-admin%2Fusers.php%3Frole%3Dsafety

    Use the dropdown to select a custom role I made.

    “Update User” at the bottom.

    Error generated:
    Array
    (
    [0] => Array
    (
    [file] => C:\inetpub\wwwroot\wp-content\plugins\edit-flow\modules\user-groups\user-groups.php
    [line] => 704
    [function] => CustomStackTrace
    [args] => Array
    (
    [0] => 2
    [1] => Invalid argument supplied for foreach()
    [2] => C:\inetpub\wwwroot\wp-content\plugins\edit-flow\modules\user-groups\user-groups.php
    [3] => 704
    [4] => Array
    (
    [errors] => WP_Error Object
    (
    [errors] => Array
    (
    )

    [error_data] => Array
    (
    )

    )

    [update] => 1

    …..

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • @j3gaming Could you provide some more information on how you created the custom role? Did you use a plugin or create it using add_role? Also, what other plugins do you have active on your site?

    Thanks,
    Connor

    Thread Starter j3gaming

    (@j3gaming)

    I used the plugin: User Role Editor, Version: 4.53, Author: Vladimir Garagulya.

    I’m also getting this error after uploading media (and trying to edit it)

    My only solution in order to edit, is to disable your plugin.

    [file] => C:\inetpub\wwwroot\wp-content\plugins\edit-flow\modules\custom-status\custom-status.php
    [line] => 1609
    [function] => CustomStackTrace
    [args] => Array
    (
    [0] => 8
    [1] => Undefined variable: id
    [2] => C:\inetpub\wwwroot\wp-content\plugins\edit-flow\modules\custom-status\custom-status.php
    [3] => 1609
    [4] => Array
    (
    [return] => Permalink:
    https://fillmore.mobi/?attachment_id=638762

    [post_id] => 638762
    [new_title] =>
    [new_slug] =>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Updating User’ is closed to new replies.