Redirect to URL after event submission – assistance needed.

Home Forums Calendar Products Community Events Redirect to URL after event submission – assistance needed.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #950694
    Niall
    Participant

    Hi

    I’m trying to follow the instructions here: https://theeventscalendar.com/knowledgebase/redirect-to-different-url-after-event-submission/ But I can’t get it to work.

    I have sucessfully updated the functions.php of my site to include this code (ie. add it without breaking my entire site). But the form still does not redirect to the homepage after an event has been submitted.

    Additionally, the code breaks altogether when I try to add a custom url for redirect (the custom ‘event submitted’ page I created).

    I’m a total php newb. What am I missing?

    Thanks for your help in advance! 🙂

    #951083
    Gustavo Bordoni
    Keymaster

    Hi Niall,

    Thanks for reaching out to us here on the support forum, and sorry for the delay on my answer.

    I was doing a good solid plugin to solve your issue, just open the URL below and follow the instructions:

    https://github.com/bordoni/tec-forum-support/tree/plugin-950694

    After that you just need to setup the “Redirect after Submit” field on the General Tab of our Settings page.

    My Best Regards,

    #951342
    Niall
    Participant

    You’re amazing. Thanks so much!!! I installed the plugin on our staging site and it worked a treat. Before I activate it on our live site – I just have one more question…

    When I installed the plugin I got the following warning messages. As I said, the plugin works fine – but just wondering if I should be worried about any of these?

    Warning: array_map() [function.array-map]: Argument #2 should be an array in /nas/wp/www/staging/light2015/wp-content/mu-plugins/wpengine-common/plugin.php on line 2047

    Warning: array_chunk() expects parameter 1 to be array, null given in /nas/wp/www/staging/light2015/wp-content/mu-plugins/wpengine-common/plugin.php on line 2048

    Warning: Invalid argument supplied for foreach() in /nas/wp/www/staging/light2015/wp-content/mu-plugins/wpengine-common/plugin.php on line 2049

    #951391
    Gustavo Bordoni
    Keymaster

    Hi Niall,

    These bugs are not related to this plugin I gave you, that seems to be a bug related to the WP Engine Common, I would say to try to reach their support if that is bugging you too much, but they shouldn’t be a big issue.

    My Best Regards,

    #951774
    Niall
    Participant

    Thanks very much Gustavo!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Redirect to URL after event submission – assistance needed.’ is closed to new replies.