Support » Plugin: Events Manager » Conflict with My Calendar Pro by Joseph C Dolson

  • kobzarm

    (@kobzarm)


    The Developer of My Calendar Pro has told me it looks like a conflict between Events Manager 5.9.2 and My Calendar Pro is causing me get 404 errors when posting new events to My Calendar Pro.

    I am not a coder – anyone have a method to stop this conflict so I can keep my existing Event Manager Plugin as well as My Calendar Pro?

    Here is the info from the calendar developer:

    “That plug-in is creating a taxonomy called ‘event_category’. My Calendar has a parameter called ‘event_category’ that’s submitted as part of the event submission form. When WordPress parses the query to identify the right page, it’s noting that taxonomy and thinking that the My Calendar parameter is telling it to look for pages that are in that taxonomy – but there aren’t any.

    The problem is that when rendering the submit-events page with the form POST set, the ‘event_category’ field is triggering an incorrect page query.

    To fix this, you need to prevent WordPress from considering that parameter in that context.

    You can probably do this by adding an action to change ‘parse_request’, and return a $query object that eliminates ‘event_category’ from consideration when parsing the permalink routes. This might be a useful article for you: https://roots.io/routing-wp-requests/

    I don’t know *exactly* what you’d need to do for this. It’s an irritating problem, because neither plug-in is doing anything truly wrong; but because they’re using the same variable, WordPress is getting confused.”

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    NetWebLogic Support

    sorry but I’m afraid that we are quite limited with other to other plugin however you can try to rename EM custom taxonomy under events-manager/em-posts.php

    Plugin Author Marcus

    (@netweblogic)

    NetWebLogic Support

    Hello, I would say that it’s likely the two plugins won’t work together, because they both touch on similar features and result in conflict names.

    Now… there are some solutions to this. Easy way is to disable event categories in EM.

    Another way is to redefine the constants defined in em-posts.php so we call our categories something else, by adding this to your wp-config.php file:

    define(‘EM_TAXONOMY_CATEGORY’,’em-event-categories’);

    Note that you’ll lose all taxonomy info saved for events in Events Manager

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.