• Resolved Martín Enrique

    (@desgrapador)


    Hello,

    I need to stablish a workflow to approve events. I’m using Events Manager and Oasis Workflow. Everything is working fine except bookings. When I click in ‘submit to workflow’, with the option ‘enable registration for this event’ with just one ticket, it turns on two tickets (it creates a duplicate) when saved. This happen even if Single ticket mode? is checked.

    Thank you for your help!

    https://wordpress.org/plugins/events-manager/

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

    (@angelo_nwl)

    hi,

    just to narrow down the problem and help us debug the issue is it possible to try the following temporarily:

    – deactivating all other plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).
    – switching to the default theme to rule out any theme-specific problems

    Thread Starter Martín Enrique

    (@desgrapador)

    Hi,

    – The theme is Twenty Sixteen.
    – I’m using just two plugins: Events Manager and Oasis Workflow. With Oasis Workflow deactivated everything works fine.

    Thank you very much!

    hi there!!!

    It looks like we (Oasis Workflow) has a filter defined for “redirect_post_location” which is causing these duplicate tickets on “submit to workflow”.

    If you open the file – oasis-workflow/includes/class-ow-process-flow.php on line 3029, you will see the following

    add_filter( ‘redirect_post_location’, array( $ow_process_flow, ‘workflow_submit_action’ ), ”, 2 );

    Let me look into it and get back to you.

    We have figured out the issue. It’s the wp_update_post call in submit_post_to_workflow(), which is causing this to happen.

    We will come up with a solution, so that the plugin is compatible with “Events Manager” plugin.

    Thread Starter Martín Enrique

    (@desgrapador)

    Thank you very much!

    We have fixed the issue in the “Pro” version for the same. We are working on fixing it in the “free” version as well. The code structure is slightly different in the “free” version though.

    Along with some other features, we intend to release the free version sometime in August.

    If you are looking to get this patch earlier, please open a ticket via – https://www.oasisworkflow.com/submit-a-query

    We can share the modified code files for the fix.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Events Manager Oasis Workflow duplicate tickets’ is closed to new replies.