Support » Plugin: Content Control - User Access Restriction Plugin » Strange behavior after DB copy

  • Resolved rethus


    I have an wp-installation on a local machine (DEV-Environnment).

    To get it to live (including the database) I do a mysql-dump from local DEV, and import it to the live-server db.

    So far so good.

    If I go into the LIVE-WP installation to Settings > Content Control, I do see my entries there in the same way as at the DEV environment.

    But they didn’t work!!

    What I have to do to make it work is:
    1. Login to wp-admin in LIVE WP-Installation
    2. Go to Settings > Content Control and
    3. Without changing anything, press “update” to trigger a new save of the data.

    I’ve checked the DB wp_options and found the Field: jp_cc_settings, which seems to include all the content-control settings.

    So I save the content “BEFORE” I press the update button in backend – right after database import, and even “AFTER”.

    So here is an image of the diff of it: see Screenshot:

    So I wonder, why does the content change, if both WP-Installations are exactly the same.

    As I use the copy-process as part of an automated deployment… is there a way to trigger this “update”-Button programmatically… or is there another way to solve this?

    • This topic was modified 3 months ago by rethus.
    • This topic was modified 3 months ago by rethus.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support mlchaves


    Hey @rethus,

    Sorry for the delay. Thanks so much for letting us know.

    We’ll try to reproduce (reprex) that issue and figure out what’s going on.

    Please stay tuned.

    Have a great weekend 🙂

    Plugin Support mlchaves


    Hi @rethus,

    Just a quick update. We haven’t been able to reproduce the issue. We’ll keep trying and keep you posted.

    Thanks so much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.