Support » Plugin: Private Google Calendars » [NSFW] Unknown Error

  • Resolved agi21

    (@agi21)


    Hello
    I successfully connected a private google cal to the plugin,but it only works when I’m logged in as admin.. if not logged in as admin (i.e. not logged in at all or logged in as subscriber), the plugin does not load / display the private google calendar in the frontend but displays ‘unknown error’. Any idea how to solve this?
    Thanx in advance…
    agi

    The page I need help with: [log in to see the link]

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

    (@michielve)

    Hi,

    I see that this plugin is trying to get data from your main website (without /Test2) instead of the /Test2 website. So it looks like you have a test website but the plugin calls your main website. I don’t know why this is, but maybe this can help you?

    Thread Starter agi21

    (@agi21)

    Hi
    Thank you for your quick anwer..
    I’m sorry but I am not sure what you mean.. Do I have to specify in the plugin settings on which page exactly I wan’t to display the calendar?
    Strange thing is, that the calendar displays perfectly if I am logged in in wp backend as admin…
    Best
    agi

    Plugin Author michielve

    (@michielve)

    No the plugin should just work on every page.

    This plugins does a call to /wp-admin/admin-ajax.php (this is common practice see https://developer.wordpress.org/plugins/javascript/ajax/#url) and I see from the logs on your website that it receives a 302 code which is a redirect. So it looks like you have some plugin or some code that doesn’t allow to call this if you’re not logged in.

    Thread Starter agi21

    (@agi21)

    Thanks again for your quick reply.. hm, I’ll check later today if there is any redirect active.. could be.. thanx for this!
    Best
    agi

    Thread Starter agi21

    (@agi21)

    Found it! Thanks for your tipp – I had a redirect function in functions.php which blocks backend access for subscribers… I deactivated this and now the calendar is showing up! I’ll see how to solve the “backend-block” a different way..

    Plugin Author michielve

    (@michielve)

    Good to hear!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[NSFW] Unknown Error’ is closed to new replies.