Monolog deprecated issue
-
When changing the end date of an event, I got the following error:
Deprecated: DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in /var/www/html/wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/monolog/monolog/src/Monolog/Logger.php on line 327 Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/monolog/monolog/src/Monolog/Logger.php:327) in /var/www/html/wp-includes/pluggable.php on line 1435 Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/monolog/monolog/src/Monolog/Logger.php:327) in /var/www/html/wp-includes/pluggable.php on line 1438 Deprecated: DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in /var/www/html/wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/monolog/monolog/src/Monolog/Logger.php on line 327
Looking at the latest version of Monolog it seems that the code for Logger::addRecord has been changed to avoid this occurring – quite a while ago I think.
Any chance of a future version of The Event Calendar being built with a more up to date version of monolog?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.