• Resolved buchansm

    (@buchansm)


    I’ve been unable to activate the Enable Advanced Mode or Restrict To Administrators settings for SVG-Support. When I click the “Yes” checkbox and then “Save Changes” button it doesn’t save the changes. I receive the “Settings Saved” banner but the settings are immediately unchecked.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Benbodhi

    (@benbodhi)

    Hey @buchansm,

    That’s no good at all.

    Could you please try disabling all other plugins, revert your theme to a standard WordPress theme like twentyseventeen and then test?
    You should find that it will work. Then you can switch everything on again one by one and test in between to find the culprit.

    Also, feel free to shoot me a temporary admin login so I can have a quick look for errors or anything. [email protected]

    I will need more information to troubleshoot at all, this behaviour has not been observed or reported at all until now. I can not replicate it either.

    Thread Starter buchansm

    (@buchansm)

    I think I found the solution to the problem. The global variable $bodhi_svgs_options in admin-init.php isn’t being pushed to svgs-settings-page.php.

    I swapped global $bodhi_svgs_options; with $bodhi_svgs_options = get_option('bodhi_svgs_settings'); on line 36 of admin-init.php.

    The options were being saved if you turned them on, but because this variable wasn’t being passed it was impossible to turn them off.

    Plugin Author Benbodhi

    (@benbodhi)

    That’s so strange. I don’t get that behaviour at all.
    I wonder what is different in your environment to create this…
    I will do some more testing.
    Can you please provide as much info as possible about your setup so I can try and reproduce this?

    Thread Starter buchansm

    (@buchansm)

    I’m running a WordPress Bedrock build, so the folder structure is completely different than your typical WordPress build. I suspect that this might be the culprit.

    In addition to this, I’m running a LEMP stack. But, I’m pretty certain the difference in folder structure is probably the issue. Oddly enough, I haven’t encountered this with any other plugin.

    Thanks for the timely responses @benbodhi!

    Plugin Author Benbodhi

    (@benbodhi)

    I see, well I’ll take a look and see if I can make it work for you as well as everyone else ??

    My pleasure, thanks for your interest in my plugin.

    Plugin Author Benbodhi

    (@benbodhi)

    Hi @buchansm,

    I have swapped this line out for you in version 2.3.7 ??

    Thanks for your patience.

    Let me know if you still have issues after upgrading.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Settings Not Saving’ is closed to new replies.