• Resolved juliangutierrez68

    (@juliangutierrez68)


    Hello,

    I’m unable to access Pages and Posts as well as orders in Woocommerce when Age Gate plugin is active. This only started happening after updating to 2.2.0. When I click on Pages I get a blank page with the text age_gate. Any help would be greatly appreciated. I’m running WordPress 4.9.8.

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

    (@philsbury)

    Hi @juliangutierrez68,

    I’ve just tested the codebase in 4.9.8 with and without WooCommerce and haven’t been able to reproduce the issue. Can you put a screen shot up of what you’re seeing? It might be worth uninstalling and reinstalling – but before you do enable the import/export feature and download your settings so you can reimport them afterwards.

    Thanks
    Phil

    Thread Starter juliangutierrez68

    (@juliangutierrez68)

    @philsbury thanks for the reply. Below is a dropbox link to the screenshot. I went ahead and deleted the plugin and re-installed it. Once again while the plugin was not active I had access to my posts and pages in the admin once I activated Age Gate the same problem occurred. Thanks.

    https://www.dropbox.com/s/jku9yu23obhxhnn/Screen%20Shot%202018-12-06%20at%207.35.39%20PM.png?dl=0

    Plugin Author Phil

    (@philsbury)

    Hi @juliangutierrez68,

    Thanks for the screen shot. I’ve tried all sort of combinations of settings and can’t reproduce the issue.

    Can you disable all the other plugins and leave age gate and see if it still happens? If it does, then we can try and find out what’s happening in your install to make it happen.

    Thanks
    Phil

    Thread Starter juliangutierrez68

    (@juliangutierrez68)

    Hey @philsbury

    I’ve been able to restore access to the affected sections in my admin and have Age Gate active by turning on debug mode and having the error log to a debug.log file. I was able to replicate this same issue on a fresh WordPress installation locally. On the fresh install I still have access to the post and pages sections but the debug file is created when I click on said sections with the text below.

    [09-Dec-2018 03:06:38 UTC] age_gate

    It seems like everything runs correct, on my live site, when I have debug on but I didn’t have this problem with the previous version of Age Gate.

    Thanks again for the continued support.

    _Julian

    Plugin Author Phil

    (@philsbury)

    Hi @juliangutierrez68,

    Thanks for looking into this some more it’s a great help.

    Looks like I may have left some error login in there by mistake. Can you try the version below and see if that fixes it with debug off (when I turned it off it still worked for some reason!).

    If this fixes it I’ll roll out the official patch later today.

    Thanks
    Phil

    https://www.dropbox.com/s/78xpbvx1sirv0wk/age-gate-2.2.1-beta1.zip?dl=0

    Thread Starter juliangutierrez68

    (@juliangutierrez68)

    Hey @philsbury

    That seems to have removed the log when testing it in my local test site. I’ll make sure to update my plugin on my live site once the patch is released and confirm. I did notice that there is another log that shows up when actually confirming your age but it doesn’t seem to bug anything out on my site. Either way there’s a Dropbox link below so you can take a look. Thanks for the support.

    https://www.dropbox.com/s/lq594xoa06c50j5/age_gate_log.mp4?dl=0

    _Julian

    Plugin Author Phil

    (@philsbury)

    Hi @juliangutierrez68,

    Those ones should be fine as there were wrapped in a test for WP_DEBUG but I’ve removed them anyway.

    This should hopefully all be sorted in 2.2.1 that’s available now. Let me know if not.

    Thanks
    Phil

    Thread Starter juliangutierrez68

    (@juliangutierrez68)

    Hey @philsbury

    The new update did the trick, I’m now able to access all pages in my admin without having to have debug on. Thank you very much for the support I greatly appreciate it.

    _Julian

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Unable to access Pages and Posts in admin’ is closed to new replies.