Support » Plugin: amr users » amr list modification impossible

  • theozefrench

    (@theozefrench)


    Hi,

    I use AMR Users to export user lists that I later use to populate a complex map. I am happy with it and do not want to change, but I can’t use it any more.

    AMR users seems broken on my WordPress : I can’t create a new list nor edit an old one.
    I tried to uninstall and got this error message at uninstall :
    Échec de suppression : Deleting number of lists and names in databaseDeleting cache status in databaseRemoved scheduled action{“success”:true,”data”:{“delete”:”plugin”,”slug”:”amr-users”,”plugin”:”amr-users\/amr-users.php”,”pluginName”:”amr users”}}

    Thnaks in advance for your help, I’ve spent the day on it and am really stuck here.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author anmari

    (@anmari)

    Hi,
    I quickly retested locally and remotely and are not seeing any problems adding or modifying. Which usually means it is some problem local to your system. Is there anything unusual about your setup ? # of users, lists?, php version? lots of plugins? whats your wp memory? If you goto yoursite… /wp-admin/admin.php?page=amr-users&tab=userdb&config=select (use url – the ‘tabs’ got broken it looks like in fixing the previous bug (sigh)), you’ll see lots of info.

    A good way to isolate a system specific problem is also this: https://webdesign.anmari.com/2932/debugging-a-possible-clash-between-plugins-andor-a-theme/

    RE Delete message:
    The message looks like a oddly displayed confirmation of the cleanup actions. It’s not actually an error. In my testing (just retested) it does do the cleanup and then deletes the code.
    If it has not deleted on your system you can always delete via your control panel file manager or ftp.

    theozefrench

    (@theozefrench)

    Hi Anmari,

    Thanks for your answer.
    I agree with you there probably are some corrupt files in my config, that even prevent me from doing a clean install.

    Below is the results of running “https://e-nable.fr/wp-admin/admin.php?page=amr-users&tab=userdb&config=select”.
    Please note also that although using the above url works, clicking on any tab in AMR’s interfaces leads me to the main tab and I can’t change tab any more by clicking on the tab’s name.
    Tested on Mac High Sierra on Chrome, Firefox, and Opera latest stable versions.
    Thanks for your help.
    ______________________________________
    Compare the memory limits to the memory stats shown in your cache status go

    If the user and user meta numbers are large, you may experience problems with large lists.

    If this happens, try: increasing php memory, clean up users (get rid of the spammy users), clean up usermeta. You may have records from inactive plugins.
    This website with blog_id=1 and prefix=wor7045_ has:

    Plugin version: 4.24
    Php version: 5.6.38
    Wp version: 4.9.8
    Php maximum execution time is: 300
    WordPress Memory limit: 40M
    WordPress Max Memory limit: 512M
    Php Memory Limit: 512M
    Charset: UTF-8

    At debug only: At 0.000 seconds, peak mem= 17.25 mb real_mem=17.25 mb – Before count users:
    There are 1599 total users: 6 administrator, 1454 contributor, 790 subscriber, 5 bbp_keymaster, 1021 bbp_participant, 7 um_admin, 1 um_membre-actif, 161 um_custom_role_1, 34 um_membre-bienfaiteur, 414 um_destinataire, 982 um_maker, 0 none,
    _________________________________________________

    Plugin Author anmari

    (@anmari)

    Hi, I strongly suggest you upgrade your php version. See https://wordpress.org/about/requirements/,
    Also memory limit is on the small side https://www.google.com/search?q=wordpress+memory, although it doesn’t sound like a memory problem.

    The can’t create / add sounds more like some kind of clash with other plugins? something messing with form submissions perhaps? or cacheing. Try the debugging.

    g’day Anmari – from NZ 😉

    Not sure if I should start a new thread but my problem seems similar to theozefrench.

    Firstly, your plugin is lovely.. it is everything I would want an export plugin to do and has saved me a pile of pain. Thank you… except for a wee problem.. when I migrated to my live site I can no longer create a list or rename a list (‘Overview & tools’ tab). Ive been developing locally using XAMPP and it all works perfectly.
    Theme and plugins are the same except the live site has Wordfence and UpdraftPlus.. which I have tried de-activating.
    Tried your ‘reset all option’ button and ‘rebuild cache’

    With ‘debug=true’ in config.php there are no messages in debug.txt

    My environment looks like this:
    Compare the memory limits to the memory stats shown in your cache status go

    If the user and user meta numbers are large, you may experience problems with large lists.

    If this happens, try: increasing php memory, clean up users (get rid of the spammy users), clean up usermeta. You may have records from inactive plugins.
    This website with blog_id=1 and prefix=XXXXXXX_wp_ has:

    Plugin version: 4.24
    Php version: 7.2.9
    Wp version: 4.9.8
    Php maximum execution time is: 30
    WordPress Memory limit: 40M
    WordPress Max Memory limit: 256M
    Php Memory Limit: 256M
    Charset: UTF-8

    At debug only: At 0.000 seconds, peak mem= 22 mb real_mem=22 mb – Before count users:
    There are 74 total users: 1 administrator, 3 um_life-member, 2 um_fellow-member, 8 um_trainee-member, 54 um_clinical-member, 1 um_admin, 2 um_associate-member, 4 um_on-hold, 0 none,

    At debug only: At 0.001 seconds, peak mem= 22 mb real_mem=22 mb – After count users:

    Do you have any ideas?

    Thanks – Jerry

    Plugin Author anmari

    (@anmari)

    Hi Jerry, well WordPress Memory limit: 40M is on the low side, however when I google things like “wordpress options not saving” or “wordpress updates not saving” and look at situations where it’s happening to main wp, or previously working theme or plugin, then the sorts of suggestions that come up are mostly around cache either cache plugins or browser cache or possibly php max_input_vars. There are other suggestions as well.

    Try using a totally new browser for a quick test.

    To reset all amr% options, you can go into phpmyadmin to the wp_options table and search on ‘amr%’ and delete all those options. Plugin will then revert to default. You’ll have to find meta, fields etc again.

    Please do post back if you figure anything out.

    Hi Anmari,

    I’ve been doing a bit of digging and may have found something.
    Recall that I have a working configuration locally and a broken one on my live site.
    I’ve been focusing on one action that doesn’t work, namely the ‘Add new’ button on the ‘Overview & Tools’ page. I see a difference in the $_POST object in the two configurations that seems pertinent:
    Working: [action] => save
    Broken: [action] => um_update_field
    um_ is the prefix for the Ultimate Member plugin.
    I now recall that I have different versions of UM installed in the two configurations.
    Investigating further and looking into the page source (via Firefox) I notice that
    the amr form that is defined by the following line:
    <form id=”userlist” action=”/wp-admin/admin.php?page=ameta-admin-overview.php” method=”post”>
    has no closing tag ‘</form>’ and I suspect that the <input> ‘action’ is being overwritten by a subsequent form which happens to be a UM generated form.
    I’m happy to keep digging however I wonder if you could shed some light on this as to whether you believe this to be an amr bug or not…

    Cheers and thanks for your time,
    – Jerry

    ps. I can confirm that when I deactivate the UM plugin that amr-users now functions as expected. At least I have a work-around for now 🙂
    – Jerry

    Plugin Author anmari

    (@anmari)

    Ahh Jerry, thank you. You’re right. UM seems to be adding it’s own html form to the wp admin footer which then appears at bottom of all settings pages and combined with the unclosed tag on that page, that seems to be what’s stopping the submit working.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘amr list modification impossible’ is closed to new replies.