The page "Events Calendar" uses the "/events" slug:

Home Forums Calendar Products Events Calendar PRO The page "Events Calendar" uses the "/events" slug:

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #1003133
    Jason Koning
    Participant

    …the Events Calendar plugin will show its calendar in place of the page.

    Have this notice after upgrading to the latest version – before I do anything I thought I’d double check exactly what this means & what you’d recommend I do.
    Probably pretty obvious, but I’m generally overcautious these days 🙂
    Thanks,
    Jas

    #1003186
    clangille
    Participant

    I just updated to the most recent version of the plugin and now my calendar is missing and I”m getting that same warning. I re-saved permalinks but that didn’t fix it.

    My calendar url was always /events. I never changed it, but now the calendar is gone.

    I need help with this one as well.

    Site url is http://www.marketstreetwealth.net

    Thanks!

    #1003300
    George
    Participant

    Hey folks,

    Sorry you’ve both into run trouble here! Hopefully I can help. Can both of you answer each question below?

    1. Does your site have a page whose title is “Events” and whose URL slug is /events? If so, remove this page – The Events Calendar will auto-generate its own /events “page”.

    2. If you head to Events > Settings in your wp-admin, what is your setting for the “Events URL Slug” option? If you change this, then save your changes and then re-set it to the original, does that help with things at all?

    3. Jason already shared his System Information – thank you Jason! @clangille, can you also share your system information? It’s very simple to do, check out this quick article to learn how → https://theeventscalendar.com/knowledgebase/sharing-sys-info/

    Thank you!
    George

    #1003339
    clangille
    Participant

    This reply is private.

    #1003382
    clangille
    Participant

    This reply is private.

    #1003672
    George
    Participant

    Hey @clangille,

    Thanks for the system information! And thank you for the login information as well – we unfortunately cannot log into customer sites for any reason, and so I removed the login information immediately for security reasons, but I genuinely appreciate your willingness to help us help you! 🙂

    Your system information looks fine to me and so my leading suspicion here is just that you have a page on your site whose title is “Events”, and therefore its slug is /events/ too. If this is the case, then to prevent the error you see from showing up you will have to delete this page. Be sure to “Trash” it, but then also go the trash and then “Permanently Delete” it (sort of like emptying the Trash on your computer, this permanently wipes it and frees up that /events/ URL slug).

    The calendar will be generated itself at /events/, and so if a page is there this error will be displayed and the calendar won’t function correctly.

    Let me know if this information helps – and, if you have a page called “events”, if deleting that helps too.

    Cheers!
    George

    #1003690
    lblnra
    Participant

    This reply is private.

    #1004061
    clangille
    Participant

    Thanks @george, I definitely don’t have an Events page though, so there is no other slug /events besides what the plugin is creating.

    Trash has been dumped, but there was never an Events page anyway.

    Any other thoughts? Not to minimize other folks’ problems, but for our business, this is a pretty big issue because we have a ton of events coming up this month, with people RSVP’ing and so forth from the site.

    Is there anything else you can do? I would greatly appreciate it

    #1004256
    George
    Participant

    Hey @clangille,

    I’m sorry about the impact this has on your business, and share in your hopes of resolving this soon – thanks so much for your patience with things thus far!

    I unfortunately cannot recreate this notice unless I have a page with an /events/ slug, so the only step I can think of from here would be for you to try deactivating non-Tribe plugins on your site one at a time, and then after each plugin deactivation, go to Settings > Permalinks in your admin area, and just click “Save Changes” without actually making any changes. This may seem like an odd thing to do but is a little “trick” within WordPress to get the permalinks across your site to refresh, which might help here.

    Once the permalinks are refreshed, head back to your site where you originally saw this error, and see if it persists.

    If the issue persists no matter what you try here, then unfortunately the best solution I can think of for the sake of your site would just be to outright remove that notice. You can do so by adding the following code to your theme’s functions.php file:


    if ( class_exists( 'Tribe__Events__Admin__Notice__Archive_Slug_Conflict' ) ) {
    remove_action( 'admin_init', array( Tribe__Events__Admin__Notice__Archive_Slug_Conflict::instance(), 'maybe_add_admin_notice' ) );
    }

    I have that helps!

    — George

    #1004260
    George
    Participant

    Hey @lblnra

    Thanks for posting your system information here – however, I’m not quite sure what you mean about some of the things you wrote in your reply. If your “event slug” is /calendar, that should work fine, and it does seem to be working fine on your site when I went to that calendar.

    If you have this set up and then also have another separate page called “Calendar”, whose slug is also /calendar/, then this separate page would need to be removed for the error to go away.

    Otherwise, you can forcefully hide the admin notice by using the code snippet I wrote in my reply to @clangille right above this reply to you – add it to your theme’s functions.php file:


    if ( class_exists( 'Tribe__Events__Admin__Notice__Archive_Slug_Conflict' ) ) {
    remove_action( 'admin_init', array( Tribe__Events__Admin__Notice__Archive_Slug_Conflict::instance(), 'maybe_add_admin_notice' ) );
    }

    I hope this information helps!

    Cheers,
    George

    #1004262
    George
    Participant

    Hey @Jason,

    Any update on things in regards to your instance of this notice? Did you, in fact, have a separate “Page” in your wp-admin that is called Events and whose URL slug is /events?

    #1004367
    clangille
    Participant

    The notice isn’t necessarily the issue, its the fact that the calendar is completely gone.

    I did literally everything to trouble shoot:

    1.) changed events slug
    2.) re-saved permalinks after each change
    3.) changed Events template from Default to other choices
    4.) emptied trash

    Nothing is bringing back the calendar 🙁

    #1004693
    Jason Koning
    Participant

    This reply is private.

    #1004854
    pompanotoday
    Participant

    Just FYI, deleting my page’s “Events” page did result in this message disappearing. It’s an unduly alarming notice, though – especially since I didn’t see any issues with my calendar’s page to begin with. Site is http://pompanotoday.com/. Thanks! – Dawne

    #1005096
    George
    Participant

    Thanks for chiming in @pompanotoday! I’m glad that your issues are resolved with that error.


    @clangille
    – it sounds like there might be some deeper issues on your site, since your calendar itself is not even showing…to be clear, when you mention doing “everything to troubleshoot”, did you also try theme- and plugin-related troubleshooting steps as outlined here? → https://theeventscalendar.com/knowledgebase/testing-for-conflicts/

    If not, you should do those steps and see if at least the calendar comes back at all – we should start with that, and then as you noted yourself, getting the admin notice to hide is rather simple after that.

    However, folks, I’m sorry to report it, but: it appears that there is indeed a bug here on our end!

    This is what you noted, @Jason – that, for some reason, the code here is tripping the error even though there isn’t a pre-existing /events/ slug.

    For now, @jason, I’m curious: are you able to successfully hide the issue if you add code like the following to your theme’s functions.php file?

    if ( class_exists( 'Tribe__Events__Admin__Notice__Archive_Slug_Conflict' ) ) {
    remove_action( 'admin_init', array( Tribe__Events__Admin__Notice__Archive_Slug_Conflict::instance(), 'maybe_add_admin_notice' ) );
    }

    That should help! (And P.S. @Jason – thank you for offering a login! But please do not share one here, since we cannot log into customer sites and it’s a security risk 😉 )

    Thank you all for your patience here, seriously – I have been unable to produce this problem, and our function works well seemingly the vast majority of the time. However, obviously it is turning up a false positive on your folks’ sites, and I’m sorry about that. I will make a bug ticket for this and we’ll hopefully get a fix for this included in our upcoming maintenance release!

    Sincerely,
    George

Viewing 15 posts - 1 through 15 (of 17 total)
  • The topic ‘The page "Events Calendar" uses the "/events" slug:’ is closed to new replies.