• Resolved worthofboastworlds

    (@worthofboastworlds)


    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 37

    The 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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Deblyn Prado

    (@deblynprado)

    Hey there @worthofboastworlds

    I’m so sorry that you’re having issues with our plugin.

    First thing that I’d recommend you is to run our Testing for Conflicts tutorial and see if you’re able to identify any external code causing that issue.

    Give a try on that and let me know results you got 🙂

    Cheers,

    Thread Starter worthofboastworlds

    (@worthofboastworlds)

    Hi Deblyn,

    Having run the Testing for Conflicts process I’ve identified the conflict is being caused by ‘WP-Optimize’ plugin Version 3.1.2.

    Kind regards,

    Lloyd

    Plugin Support Deblyn Prado

    (@deblynprado)

    Hey there @worthofboastworlds!
    Thanks for let us know!

    We strongly recommend you to not use any cache / compression / speed / optimisation plugin in Events Calendar.
    Resources used by our plugin are already optmised and try to use any external service to re-do that can cause unexpected issues like that one that you’re using.

    You can also try to check if you have any “exclusion area” on plugin settings and you can setup that to do not touch in The Events Calendar files.

    Please let me know if you need anything else.
    Cheers,

    Jaime

    (@jaimemarchwinski)

    Hey there! This thread has been inactive for a while so we’re going to go ahead and mark it Resolved. Please feel free to open a new thread if any other questions come up and we’d be happy to help. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Fatal error when user submits RSVP’ is closed to new replies.