• Resolved bnfw

    (@voltronik)


    Hi,

    For some reason, the maximum Gravatar size setting for this plugin ‘forgets’ whatever is set fairly regularly.

    For example, yesterday, I set a pixel size of 59 however today, I noticed that the gravatar images on the front-end are very large, so I looked in the settings an sure enough, my ’59’ is missing. I have set it again but expect it to disappear again. This has happened before but I’m not sure where.

    Do you know why this might be?

    Thanks,
    Jack

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Andrew Munro

    (@sumobi)

    Hi Jack!

    I’m not entirely sure why the setting would forget itself, it simply uses the extension settings API provided by Easy Digital Downloads.

    1. Is it just this one field or do the other fields forget themselves also?
    2. Do you have any other EDD extensions installed which have the same issue?
    3. Are there any errors in your error logs?
    4. Have you performed any database related tasks, or updated any plugin/theme within the period?

    Thread Starter bnfw

    (@voltronik)

    Hi @sumobi,
    Thanks for your help.

    1. No, it’s just this field.
    2. Lots of others installed but none exhibit the same issue.
    3. Nothing in the errors logs.
    4. No database related tasks but I do keep all plugins up-to-date. There have been a few EDD updates lately – do you think this might be the cause somehow?

    Thanks,
    Jack

    Plugin Author Andrew Munro

    (@sumobi)

    You’re welcome,

    It’s possible, but I can’t say with certainty. The setting for the Gravatar size is stored within the wp_options row where the rest of the EDD settings are stored. The only way it could get wiped is if the entire options row was deleted, or otherwise modified to remove just that setting.

    Here’s a screenshot: https://www.dropbox.com/s/n152co6oacn4s6n/Screenshot%202017-10-27%2010.21.29.png?dl=0

    The next time it gets wiped, would you mind pasting what you see in that edd_settings option row? Actually, it would be useful to see it now if you can. I wonder if it’s somehow corrupt.

    Do you have any other sites where this issue occurs? If you don’t mind reconfiguring your EDD settings, one plausible solution might be to delete that option row and reconfigure the EDD settings again to see if the issue comes back. Note, this will also wipe other settings for other EDD related plugins you may have installed.

    I’ve had the gravatar size set on my local site for a very long time (probably since I built the plugin) and so far it’s been fine.

    Thread Starter bnfw

    (@voltronik)

    Thanks @sumobi,
    That’s helpful.

    I can’t post my edd_settings option as it contains keys and things for connecting to 3rd party services. I will make a copy for my reference however, and if I notice this happen again, I’ll try and compare the two.

    Thanks for your help so far.
    Jack

    Plugin Author Andrew Munro

    (@sumobi)

    Great! Comparing the two will really shed some light on this issue. If you do post back and I don’t get back to you in time, feel free to open a ticket on the EDD site and paste a link to this post so one of our team members can assist you: https://easydigitaldownloads.com/support/

    Enjoy your weekend!

    Thread Starter bnfw

    (@voltronik)

    Thanks Andrew (@sumobi),
    Will do.

    Enjoy your weekend too!

    Jack

    Thread Starter bnfw

    (@voltronik)

    Hi @sumobi,
    Ok, so it seemed to happen again after I updated the Recurring Payments and Mailchimp add-ons.

    Doing a diff on the output of the edd_settings option in the wp_options table it seems that any time I save a setting in EDD or any of it’s add-ons, it deletes any settings I have for the EDD Purchase Avatars plugin.

    Do you know why this might be?

    Thanks,
    Jack

    Plugin Author Andrew Munro

    (@sumobi)

    Thanks Jack. Good news! I managed to replicate the issue while saving a setting in EDD Recurring so I will be looking into this further as soon as I can.

    Will post back when I find the issue ??

    Thread Starter bnfw

    (@voltronik)

    Hi @sumobi,
    Great! Thanks.

    Jack

    Plugin Author Andrew Munro

    (@sumobi)

    Hey Jack,

    Just pushed out a fix for this issue. The settings for this plugin have now been moved to a “Purchase Gravatars” section (other EDD extensions also have their own section).

    Thread Starter bnfw

    (@voltronik)

    That’s great, thanks @sumobi.
    Installed and saved settings just to make sure they stick.

    Thanks for all your help.
    Jack

    Plugin Author Andrew Munro

    (@sumobi)

    You’re welcome Jack, glad it’s now sorted.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Maximum Gravatar size setting not saved’ is closed to new replies.