Support » Plugin: Content Control - User Access Restriction Plugin » Disabling and re-enabling plugin makes settings invisible

  • Resolved maxblankt

    (@maxblankt)


    I disabled the Content Control plugin by accident, so I re-enabled it. I tried my site and everything worked normally as it should. But when I went into Settings > Content Control, to my horror, all of the settings were gone. This means that the settings are still active and functional on the site, but I have no way of editing or removing them. How can I make my settings visible in Settings > Content Control? Please help, thank you.

    I am running version 1.1.9 of Content Control.

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Support mark l chaves

    (@mlchaves)

    Hello @maxblankt,

    ​Thanks for reaching out. We’re sorry you’re settings aren’t visible!

    Are you seeing any JavaScript errors in the browser console on that settings page? If so, can you link us to a screen capture of that?

    If you’re running WPML, can you please try the following:

    1) Disable all WPML plugins

    2) Re-enable all WPML plugins

    Otherwise, you’ll probably need to troubleshoot each plugin if you haven’t yet. Here are instructions if you’ve never done that before.

    https://gist.github.com/marklchaves/90f5af8d0ea08d6e54254f2afb1109df

    If you’re still seeing the issue after doing all the above, please submit a help request here.

    https://code-atlantic.com/contact-us/

    That way we can get more details to help you using a more private channel.

    Cheers!

    • This reply was modified 9 months, 1 week ago by mark l chaves. Reason: Correction
    Thread Starter maxblankt

    (@maxblankt)

    Hi @mlchaves I followed your instructions.

    First I tried checking the browser console on the content control settings page, but it didn’t output any errors.

    Secondly I deactivated all WPML plugins and reactivated them. When I navigated to the content control settings page it was still empty. I tried refreshing a few times and found 2 javascript errors happening, but only sometimes. They are the following:

    1. https://ibb.co/JpGwTLp
    2. https://ibb.co/P9hxfQJ

    Plugin Support mark l chaves

    (@mlchaves)

    Hello @maxblankt,

    We think you’ll need to temporarily deactivate your plugins (starting with WPML) and test your site only with Content Control active. Why start with WPML? Because it seems that that iclSaveForm has had conflict issues before. See below.

    https://wpml.org/forums/topic/iclsaveform-is-not-defined-wpml-translation-management-nextgen/

    If the Content Control’s settings page works with only the Content Control plugin active, then one or more of your deactivated plugins are conflicting with Content Control.

    Here are the full instructions for the standard troubleshooting steps when looking for a plugin or theme conflict.

    https://gist.github.com/marklchaves/90f5af8d0ea08d6e54254f2afb1109df

    If you find out if it’s WPML that’s breaking the Content Control settings page, you’ll need to reach out to the good folks at WPML to check into that issue.

    Let us know how that goes.

    Cheers!

    Thread Starter maxblankt

    (@maxblankt)

    Hi @mlchaves,

    I have deactivated every single plugin except for content control but this error still remains. There are no errors in the console when going to the content control settings page.

    Best regards,

    Max

    Thread Starter maxblankt

    (@maxblankt)

    Hi @mlchaves,

    I have followed the guide exactly, I have deactivated all plugins except for content control, I have removed code in functions.php and site.js, I have changed the theme to Twenty Twenty, but still, I cannot see any restrictions set when I access the content control settings page (even though my old restrictions are active on the site), please help.

    https://ibb.co/wMXcnbD

    Thread Starter maxblankt

    (@maxblankt)

    The only thing I haven’t tried is to delete the plugin, maybe that is the las resort solution?

    Thread Starter maxblankt

    (@maxblankt)

    I tried deleting the plugin on my staging site, but even when the plugin is deleted, the content control restriction is still present on the site.

    Plugin Support mark l chaves

    (@mlchaves)

    Hey @maxblankt,

    Hmmm, that’s definitely not normal. It might be time for a force delete and fresh re-install.

    If the standard way to delete a plugin from WordPress (via wp-admin > Plugins) isn’t working for you, you may need to use cPanel File Manager or SFTP (e.g., FileZilla).

    When using File Manager or SFTP, you’ll need to go to the wp-content/plugins folder first. Then delete the content-control folder.

    If those 2 ways aren’t available, can you ask your hosting provider to help you delete the plugin?

    ​Let us know how that goes.

    Thanks so much!

    Thread Starter maxblankt

    (@maxblankt)

    Hi @mlchaves thank you for your advice,

    I am currently using WPEngine, and I haven’t used File Manager or SFTP before so all help is of course very appreciated! I have tried everything (deleting themes and other plugins) but the pages are still locked behind content control even though the settings are empty.

    Could you please help out with this? Thanks!

    Thread Starter maxblankt

    (@maxblankt)

    I had a talk with my hosting provider. When wp-config.php file is reset to default, content-control is no longer active. @mlchaves Do you have any idea what in content-control might be causing this bug?

    Thread Starter maxblankt

    (@maxblankt)

    Trying to compare the two files, I suspect it has something to do with $memcached_servers.

    Thread Starter maxblankt

    (@maxblankt)

    @mlchaves Once the table prefix in wp-config.php was changed back to the value it should have for the site to work properly, the redirect error got back, so this is certainly an issue that lies in the database.

    Thread Starter maxblankt

    (@maxblankt)

    We have narrowed it down. When we are using the child theme of Kava the error is there, but when we change to the parent theme of Kava the error goes away. But when I changed to the theme Twenty Twenty before it was still not working.

    • This reply was modified 8 months, 4 weeks ago by maxblankt.
    Thread Starter maxblankt

    (@maxblankt)

    The issue is resolved, it was due to custom code in the theme’s functions file. It is unrelated to content control so we can all make a collective sigh of relief. Thanks for all the help.

    Plugin Support mark l chaves

    (@mlchaves)

    Hey @maxblankt,

    You’re very welcome. We’re glad that you figured it out!

    We appreciate you sharing your troubleshooting steps with everyone too.

    Have a great weekend 🙂

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Disabling and re-enabling plugin makes settings invisible’ is closed to new replies.