• Resolved MummyTravels

    (@mummytravels)


    Events tickets is suddenly throwing up a critical error whenever anyone tries to check out – the process seems fine (you can add to cart, click through to checkout) but then fails. There are already a couple of code snippets added to the site to deal with bugs relating to currency (which fixed that issue) and WooCommerce conflicts (in case that was causing this issue) but neither has resolved this.

    Payments are connected and Paypal has been resynced. Everything was working fine previously (not sure precisely when it broke) and no evident errors or unexpected settings. The rest of the site is fine and it’s the latest version of the plugin.

    Any suggestions as to what might be causing it? (The site is for a client of mine)

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Juan Aldasoro

    (@juanfra)

    Hi @mummytravels,

    Thank you for reaching out to us, I hope you’re doing well.

    Do you know if something changed on that server recently? Do you have access to the error logs to see if we can get some other information about the error?

    Best,
    Juan.

    Thread Starter MummyTravels

    (@mummytravels)

    Hi Juan
    Thanks for the reply – I’m not aware of any particular server changes, though can check with the hosting company, and see about error logs too. But other than the usual updates, such as to the latest version of WordPress, there hasn’t been anything significant that’s changed as far as I’m aware, and nothing else seems to be affected.
    Cathy

    Plugin Contributor Juan Aldasoro

    (@juanfra)

    Hi Cathy (@mummytravels),

    Thanks for the prompt response, and the info ??

    Perfect, it’d be ideal if you could get the error logs from the server so that we can get some more information to narrow down the possibilities and properly identify the problem.

    The more information the better.

    Looking forward to hearing from you,
    Juan.

    A client I support is also experiencing this issue. There appears to be incompatibility issues between the versions of Psr/Log and Monolog bundled with the plugin.

    Sentry\Exception\FatalErrorException
    Compile Error: Declaration of Monolog\Logger::emergency($message, array $context = []) must be compatible with Psr\Log\LoggerInterface::emergency(Stringable|string $message, array $context = []): void

    Plugin Contributor Juan Aldasoro

    (@juanfra)

    Hi @jagfiend,

    Thanks for your input.

    I’ve just confirmed with our engineers that our version of Monolog is compatible with our version of the LoggerInterface.

    The LoggerInterface in that error message is using some PHP 8 type hints, so the assumption is that coming from somewhere else.

    Sentry\Exception\FatalErrorException
    Compile Error: Declaration of Monolog\Logger::emergency($message, array $context = []) must be compatible with Psr\Log\LoggerInterface::emergency(Stringable|string $message, array $context = []): void

    Best,
    Juan.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Critical error’ is closed to new replies.