Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
If you're experiencing a fatal error with the message 'Declaration of MonologLogger::emergency(Stringable|string $message, array $context = []): void must be compatible with PsrLogLoggerInterface::emergency($message, array $context = [])', this is due to a compatibility issue in the code.
Solution:
We recommend updating to WPML version 4.7.1, which is expected to resolve this issue. The update should be available in approximately 1-2 weeks. If you encounter this issue before the update is released, you might find a temporary workaround on the Roots forum: Roots forum discussion.

Please note that this solution might be outdated or not applicable to your specific case. If the problem persists, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If necessary, please open a new support ticket at WPML support forum for further assistance.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by Dražen 5 months, 1 week ago.

Assisted by: Dražen.

Author Posts
February 21, 2025 at 12:09 pm #16733461

henrikF-4

Same here! I don't get why this is marked as resolved, it is certainly NOT resolved as of February 20.

February 25, 2025 at 6:49 am #16744005

shaharH

Same here. Updating to version 4.7.1, but the issue persists.
Any updates on this?

February 25, 2025 at 8:05 am #16744197

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

this ticket is closed, please open a new ticket and provide more info, so we check further and see what is wrong, since original issue should be resolved with latest WPML versions.

Regards,
Drazen