Okay
  Public Ticket #2517738
Error on front end when displaying calendar
Closed

Comments

  •  1
    Eric Embacher started the conversation

    I have added the shortcode on this page to display my calendar. It displays only when I am logged in (as Administrator). Normal site visitors don't see it, and there's an error in the console (see attached).

  • [deleted] replied

    Hello Eric, 

    Could you please check your security settings on your website or if you have some plugin for this purpose on your website please check its settings? It can be that for some security reason Amelia is blocked when someone is accessing the website while not logged in, Amelia uses admin-ajax calls so it needs response from the server. 

    The error that you have on the website, is a syntax error, it is in no connection to Amelia, please look at the attachment. So, please check your page, the error says that there is a } missing somewhere, so please check the code you added to the page, maybe this is blocking Amelia for some reason as well. 


  •  1
    Eric Embacher replied

    No security plugins are used on this site. 

    The syntax error is within a JS file that is part of Amelia—there is an error in your code. See attached 

  • [deleted] replied

    Hello Eric,

    Sorry, I see now. If there was such error in the plugin it wouldn't work for all users, so that is hardly possible. This can some caching issue, could you please delete cache on your website if any, and check your cache settings/plugin?

    If this doesn't help please provide me a temporary WP-admin login for your site where this happens, so we could log in and take a look.

    We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course we do not provide login data to third party. You can write credentials here just check Private Reply so nobody can see them except us.


  •   Eric Embacher replied privately
  •   [deleted] replied privately
  •  1
    Eric Embacher replied

    I have excluded the page from the cache (using LiteSpeed Cache...I don't believe there's a way of excluding a script). Still doesn't work.

  • [deleted] replied

    Apologies for replying a bit later, we don't work on weekends. 

    Some caching plugins can block Amelia scripts for some reason, and because of this you need to exclude them from caching in order to have Amelia loaded on the front-end. 

    Could you please deactivate that plugin and see if Amelia will load afterwards? Maybe the block isn't coming from that plugin, maybe it is something else. 

    Also, please try disabling the option Use already loaded Vue in Amelia -> Customize, maybe this will help.