When logged in as admin, my Calendar page does not display the calendar table with the events, whereas any user either logged in/logged out can see the calendar.
I’ve not changed any settings in the calendar plugin for months, and this used to be working properly.
One possible cause to this would be a JavaScript error that’s only happening for the admin. For example the admin bar only displays for the admin, so if there’s a related JavaScript error, then you wouldn’t see other things on the page that also get generated with JavaScript. You can try troubleshooting this by viewing the page with the Developer console (check for specific JavaScript errors). Then you deactivate any plugins that are related to the error.
As a matter of fact the error is related with the Anti-Spam CleanTalk plugin (if I deactivate this plugin the Calendar shows again). In case you may provide some help, the error in the console is as follows:
cleantalk-public.js?ver=5.67.2:4 Uncaught ReferenceError: ctPublic is not defined
at HTMLDocument.<anonymous> (cleantalk-public.js?ver=5.67.2:4)
at fire (jquery-1.8.3.js?ver=4.7.5:1947)
at Object.fireWith [as resolveWith] (jquery-1.8.3.js?ver=4.7.5:2167)
at Function.ready (jquery-1.8.3.js?ver=4.7.5:811)
at HTMLDocument.DOMContentLoaded (jquery-1.8.3.js?ver=4.7.5:165)
(anonymous) @ cleantalk-public.js?ver=5.67.2:4
fire @ jquery-1.8.3.js?ver=4.7.5:1947
fireWith @ jquery-1.8.3.js?ver=4.7.5:2167
ready @ jquery-1.8.3.js?ver=4.7.5:811
DOMContentLoaded @ jquery-1.8.3.js?ver=4.7.5:165
I’ve checked with CleanTalk developer and they have provided a fix for compatibility, so this issue is now solved. Thanks.
Viewing 4 reply threads
The support post ‘Unable to see Calendar when logged in as admin’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.