Title: Fatal error
Last modified: February 26, 2024

---

# Fatal error

 *  Resolved [perryrylance](https://wordpress.org/support/users/perryrylance/)
 * (@perryrylance)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-4636/)
 * Hi folks. Plugin is crashing a development site running PHP 8.2, I suspect because
   it enforces function signatures matching.
 * `Fatal error: Declaration of DecaLog\EventsLogger::emergency($message, $context
   = []) must be compatible with Psr\Log\LoggerInterface::emergency(Stringable|string
   $message, array $context = []): void in /var/www/html/wp-content/plugins/sessions/
   includes/libraries/decalog-sdk/EventsLogger.php on line 74`
 * We can fix this in our dev environment but it would be nice if this could be 
   fixed so we can put the production site on 8.2. Thank you.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fround-lake.dustinice.workers.dev%3A443%2Fhttps%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-4636%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Pierre Lannoy](https://wordpress.org/support/users/pierrelannoy/)
 * (@pierrelannoy)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-4636/#post-17453197)
 * Hello!
 * Sorry to hear you experience such an issue.
   I’m pretty sure it’s not due to PHP
   version (it’s working like a charm on many sites with PHP 8.2). I suspect a mismatch
   in PSR-3 versions due to the use of other libs.
 * Can you tell me if you’re using a specific “framework” (like bedrock, for example)
   or if you used composer (in a lib or for your own devs) to requires a specific
   version of PSR-3?
 *  Thread Starter [perryrylance](https://wordpress.org/support/users/perryrylance/)
 * (@perryrylance)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-4636/#post-17455408)
 * Hi Pierre, thanks for the swift response.
 * I think you might be right looking at other plugins installed here. If it’s the
   theme I’m working with then I’m afraid I can’t tell you any more.
 * If it turns out to be one of the plugins that I can see is also using PSR-3 then
   I will let you know here 🙂 Thank you.

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

The topic ‘Fatal error’ is closed to new replies.

 * ![](https://ps.w.org/sessions/assets/icon-256x256.png?rev=2266516)
 * [Sessions](https://wordpress.org/plugins/sessions/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sessions/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sessions/)
 * [Active Topics](https://wordpress.org/support/plugin/sessions/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sessions/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sessions/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [perryrylance](https://wordpress.org/support/users/perryrylance/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-4636/#post-17455408)
 * Status: resolved