• Resolved pokerxanadu

    (@pokerxanadu)


    When I installed My Calendar, it came with the default location “Demo: Minnesota Orchestra”. I added a new location and made it my default location. Then I deleted the “Demo: Minnesota Orchestra” location. When I view my default location on the frontend of my site, there is still a navigation link at the top to “Demo: Minnesota Orchestra”. You can see this here:
    https://clearwatershuffleboard.com/locations/clearwater-shuffleboard-club/

    That Demo location does not show in My Calendar/Locations. How do I get rid of it? I do know how to edit my SQL database, so instructions on what database record(s) to delete would be helpful, thanks.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    Hmm. It looks like the WordPress post associated with the location wasn’t deleted as well; I’ll look into that.

    To delete it in the database, you can just find it in the wp_posts table; it’ll be of post_type ‘mc_locations’. It’ll have the post title “Demo: Minnesota Orchestra”, so it should be easily spotted.

    Thread Starter pokerxanadu

    (@pokerxanadu)

    Thanks. I found the record in the wp_posts table. But also found a corresponding record in the wp_postmeta table. I’m afraid to delete them directly in the database as there might be some pointers elsewhere in the database as well. Don’t want to mess things up. Instead I brought up the location page on my frontend for the “Demo…” record, hit the Edit link on the page, which brought up the location as a Modify Event to edit. I changed the status to Draft, so now the link to it doesn’t appear on the frontend anymore. I’ll just leave the record in the database alone as that’s all I really needed to accomplish. Issue resolved.

    • This reply was modified 3 years, 10 months ago by pokerxanadu.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Default “Minnesota” location stuck in database’ is closed to new replies.