Title: PHP 8.1 error!
Last modified: April 29, 2024

---

# PHP 8.1 error!

 *  Resolved [tonygao](https://wordpress.org/support/users/tonygao/)
 * (@tonygao)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/php-8-1-error-6/)
 * [29-Apr-2024 00:56:24 UTC] PHP Deprecated: DateTime::__construct(): Passing null
   to parameter #1 ($datetime) of type string is deprecated in /public_html/wp-content/
   plugins/event-tickets/common/vendor/vendor-prefixed/monolog/monolog/src/Monolog/
   Logger.php on line 327
 * plugin version: latest version 
   php version: 8.1
 * Please fix it, thanks!

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

 *  [Frank Remmy (woo-hc)](https://wordpress.org/support/users/frankremmy/)
 * (@frankremmy)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/php-8-1-error-6/#post-17722016)
 * Hello [@tonygao](https://wordpress.org/support/users/tonygao/),
 * Thanks for getting in touch.
 * There’s an internal ticket **TEC-5026** to address this issue and I’ve included
   your specific use case in it to communicate it to our team.
 * We prioritize bugs by taking into consideration the number of users impacted 
   as well as how the bug impacts one’s ability to run an event/sell tickets. I 
   don’t have a specific timeline as to when this issue will be resolved, but trust
   that our team is aware. Our team communicates updates and bug fixes in our [newsletter](https://theeventscalendar.com/newsletter-signup/)
   and via our [changelog](https://theeventscalendar.com/category/release-notes/).
 * Meanwhile, a workaround is to downgrade to PHP 8.0 which we’re 100% compatible
   with. You can decide to keep it at 8.1 since [deprecated errors are only warnings and don’t affect the functionality of plugins.](https://theeventscalendar.com/knowledgebase/php-8-x-understanding-what-the-deprecation-notices-mean/)
 * I’m happy to help if any other questions are coming up around this topic. Otherwise
   I’ll go ahead and close this ticket.
 * Thanks again for reporting this issue and for using The Events Calendar! Have
   a great day.
 * —
 * Internal Bug Ticket Reference:
 * **TEC-5026**
 *  Thread Starter [tonygao](https://wordpress.org/support/users/tonygao/)
 * (@tonygao)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/php-8-1-error-6/#post-17722463)
 * 🙂 Thanks!

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

The topic ‘PHP 8.1 error!’ is closed to new replies.

 * ![](https://ps.w.org/event-tickets/assets/icon.svg?rev=2259340)
 * [Event Tickets and Registration](https://wordpress.org/plugins/event-tickets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/event-tickets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/event-tickets/)
 * [Active Topics](https://wordpress.org/support/plugin/event-tickets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/event-tickets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/event-tickets/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [tonygao](https://wordpress.org/support/users/tonygao/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/php-8-1-error-6/#post-17722463)
 * Status: resolved