Home › Forums › Calendar Products › Community Events › Error on Community event
- This topic has 3 replies, 2 voices, and was last updated 5 years, 7 months ago by claudio antonio zito.
-
AuthorPosts
-
September 10, 2018 at 7:06 am #1617490claudio antonio zitoParticipant
Hi, I have installed community event successfully but I can not create events, nor as a registered user nor as an anonymous user. The error message I receive is as follows:
*Fatal error*: Uncaught ArgumentCountError: Too few arguments to function
WP_Router_Page::get_title(), 1 passed in /web/htdocs/
http://www.coachup.it/home/wp-includes/class-wp-hook.php on line 286 and exactly 2
expected in /web/htdocs/
http://www.coachup.it/home/wp-content/plugins/the-events-calendar-community-events/vendor/wp-router/WP_Router_Page.class.php:144
Stack trace: #0 /web/htdocs/
http://www.coachup.it/home/wp-includes/class-wp-hook.php(286):
WP_Router_Page-get_title(‘Crea un Evento’) #1 /web/htdocs/
http://www.coachup.it/home/wp-includes/plugin.php(203):
WP_Hook-apply_filters(‘Crea un Evento’, Array) #2 /web/htdocs/
http://www.coachup.it/home/wp-content/themes/tennistoday/fw/core/core.wp.php(1462):
apply_filters(‘the_title’, ‘Crea un Evento’) #3 /web/htdocs/
http://www.coachup.it/home/wp-content/themes/tennistoday/fw/core/core.wp.php(1265):
tennistoday_get_post_data(Array, NULL) #4 /web/htdocs/
http://www.coachup.it/home/wp-content/themes/tennistoday/single.php(16):
tennistoday_show_post_layout(Array) #5 /web/htdocs/
http://www.coachup.it/home/wp-includes/template.php(690): in
*/web/htdocs/www.coachup.it/home/wp-content/plugins/the-events-calendar-community-events/vendor/wp-router/WP_Router_Page.class.php
http://www.coachup.it/home/wp-content/plugins/the-events-calendar-community-events/vendor/wp-router/WP_Router_Page.class.php*
on
line *14*September 11, 2018 at 12:55 am #1618228JeremyKeymasterHi Claudio,
Thanks for reaching out to us! I’d be happy to help you 🙂
It seems there’s a conflict with your theme. Could you try to switch to the default theme (Twenty Seventeen) and tell me if you still get this error or not when submitting an event via Community Events? (normally, you shouldn’t get it)
Your theme offers an integration with our calendar. In order to do so, they have customized our template files and might have used some hooks which are not used anymore. So I would recommend you to contact the support team behind your theme.
Please let me know how it goes.
Cheers,
JeremySeptember 16, 2018 at 1:31 am #1622885claudio antonio zitoParticipantHi, I solved! A default organizer was missing. Now that I put a name as default organizer (you can change it later) the error is gone. Thank you
September 20, 2018 at 12:34 am #1626105JeremyKeymasterHi Claudio,
I’m glad you managed to solve this issue!
I’m going to close this thread then, but feel free to start a new one if you have further concerns 🙂
Cheers,
Jeremy -
AuthorPosts
- The topic ‘Error on Community event’ is closed to new replies.