Fatal error when user submits RSVP
-
Hi team,
I’ve added an RSVP to my event page – but when users complete the form and click submit they are faced with the following error page:
Fatal error: Uncaught TypeError: Argument 1 passed to Monolog\Handler\ErrorLogHandler::__construct() must be of the type int, null given, called in /homepages/19/d832068420/htdocs/wp-content/plugins/the-events-calendar/common/src/Tribe/Log/Service_Provider.php on line 73 and defined in /homepages/19/d832068420/htdocs/wp-content/plugins/wp-optimize/vendor/monolog/monolog/src/Monolog/Handler/ErrorLogHandler.php:37 Stack trace: #0 /homepages/19/d832068420/htdocs/wp-content/plugins/the-events-calendar/common/src/Tribe/Log/Service_Provider.php(73): Monolog\Handler\ErrorLogHandler->__construct(NULL, 300) #1 /homepages/19/d832068420/htdocs/wp-content/plugins/the-events-calendar/common/vendor/lucatume/di52/src/tad/DI52/Container.php(279): Tribe\Log\Service_Provider->build_logger(Object(Tribe__Container)) #2 /homepages/19/d832068420/htdocs/wp-content/plugins/the-events-calendar/common/src/Tribe/Log/Service_Provider.php(129): tad_DI52_Container->make('Monolog\\Logger') #3 /homepages/19/d832068420/htdocs/wp-includes/class-wp-hook.ph in /homepages/19/d832068420/htdocs/wp-content/plugins/wp-optimize/vendor/monolog/monolog/src/Monolog/Handler/ErrorLogHandler.php on line 37The RSVP appears correctly in my event attendees page, however the user does not receive a confirmation email.
Any help would be greatly appreciated!
Kind regards
The topic ‘Fatal error when user submits RSVP’ is closed to new replies.