• I just updated to amr users v. 2.3.8. Now when I update a user profile, I get the following erros.

    Warning: Missing argument 1 for amr_request_cache(), called in my-site/wp-content/plugins/amr-users/amr-users.php on line 136 and defined in my-site/wp-content/plugins/amr-users/amr-users.php on line 201

    Warning: Cannot modify header information – headers already sent by (output started at my-site/wp-content/plugins/amr-users/amr-users.php:201) in my-site/wp-includes/pluggable.php on line 897

    Any suggestions on how to solve the problem would be great. When I deactivate the plugin the problem goes away.

    https://www.ads-software.com/extend/plugins/amr-users/

Viewing 14 replies - 1 through 14 (of 14 total)
  • Same, changed a user’s password, received this message when I clicked update:

    Warning: Missing argument 1 for amr_request_cache(), called in /nfs/www/WWW_pages/midstate/midstateconstruction.com/wp-content/plugins/amr-users/amr-users.php on line 136 and defined in /nfs/www/WWW_pages/midstate/midstateconstruction.com/wp-content/plugins/amr-users/amr-users.php on line 201

    Warning: Cannot modify header information – headers already sent by (output started at /nfs/www/WWW_pages/midstate/midstateconstruction.com/wp-content/plugins/amr-users/amr-users.php:201) in /nfs/www/WWW_pages/midstate/midstateconstruction.com/wp-includes/pluggable.php on line 890

    Wow, I was just coming here to report the same problem. It happens when trying to modify a user’s profile (like the previous 2 posters), or when a new user completes registration. On the registration, the registration works fine, but then the user is presented with this error, so they’re not sure if it worked or not.

    Screenshot

    It happens when a new users reg too? Crap, I’ll have to disable it for now. My users scare easy.

    Thanks!

    Edit: Deactivated, no message to new user.

    Plugin Author anmari

    (@anmari)

    Yup guys – I am on it – found it – just double checking and running through various actions – update up soon.

    For me only appears in error_log (as the batch run is in background), so little puzzled why you are seeing error in front end – any way – cause is being eradicated now.

    Plugin Author anmari

    (@anmari)

    Hi all, update is now showing up on the plugin page here. It can sometimes take a little while to show up on your website. Either delete the transient option that wp uses to track when last it did an update check and it will then do one sooner, or download manually, or wait….

    Thanks anmari. You’re awesome. Awesome plugin too.

    Everything seems to work great. I did notice one thing you may want to look into. When I disabled a bunch of plugins all at once (including AmR users), I got this: screenshot.

    It’s not a problem and enabling/disabling the plugin by itself doesn’t lead to this, but just thought you’d like to know, in case its something you’d like to look into.

    Thread Starter beckster8

    (@beckster8)

    Works great! Thanks so much for your quick response and for a great plugin!

    Plugin Author anmari

    (@anmari)

    Hi Tevya,

    Thank you for taking the time to highlight that – it is appreciated.

    It is a message to use that any plugin related cron/background jobs have been removed when you deactivate. it is obviously outputing it at a bad time during the wp sequence.

    Will fix in next update.

    No problem, just doing what I can to help with your awesome plugin.

    Now I can’t rebuild cache to view/export user list:

    Fatal error: Call to undefined function get_users() in /absolute/path/to/site.com/wp-content/plugins/amr-users/ameta-includes.php on line 276

    Hopefully anmari can give you some info, but from my limited knowledge of server/hosting security, its not safe to share the absolute path of your website, so hopefully you’ll see this quickly enough and can edit your post so that the address part reads:

    “/xxxxx/xxxxx/xxxxx/xxxxx/midstateconstruction.com/wp-content/plugins/amr-users/ameta-includes.php on line 276”

    Plugin Author anmari

    (@anmari)

    Hi mcc1

    get_users() is a wordpress function and I have just realised the problem. In testing the plugin I got a deprecated message on
    ‘get_users_of_blog’ see

    https://codex.www.ads-software.com/Function_Reference/get_users_of_blog

    and so updated the code to use get_users()

    But DUH! that is only for wp 3.1 users. Usually I see these things as I cross test on several platforms.

    So I guess you are not on wp 3.1.

    If you know enough to edit the files and do a search and replace get_users() with get_users_of_blog() – that should take it back to <wp3.1. until I can get an update up which will cope either way

    I’ve been waiting for 3.1 support for a few of my plugins. Ran through the important ones, backed up sql/site, then took the plunge. 3.1 now, so no problems here ??

    Thanks!

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘[Plugin: amr users] Errors when update profile’ is closed to new replies.