Title: php errors breaking site
Last modified: June 13, 2023

---

# php errors breaking site

 *  Resolved [startechmarketing](https://wordpress.org/support/users/startechmarketing/)
 * (@startechmarketing)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/php-errors-breaking-site/)
 * I get the following php errors breaking the site php 8.1 I must use this version
 * [13-Jun-2023 09:20:17 UTC] PHP Deprecated: ltrim(): Passing null to parameter#
   1 ($string) of type string is deprecated in //wp-includes/formatting.php on line
   4415
   [13-Jun-2023 09:20:19 UTC] PHP Deprecated: Optional parameter $did_action
   declared before required parameter $js_action is implicitly treated as a required
   parameter in //wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/
   stellarwp/installer/src/Installer/Handler/Plugin.php on line 123[13-Jun-2023 
   09:20:19 UTC] PHP Deprecated: base64_encode(): Passing null to parameter #1 (
   $string) of type string is deprecated in //wp-content/plugins/event-tickets/src/
   Tribe/Commerce/PayPal/Main.php on line 2335[13-Jun-2023 09:20:20 UTC] PHP Deprecated:
   base64_encode(): Passing null to parameter #1 ($string) of type string is deprecated
   in //wp-content/plugins/event-tickets/src/Tribe/Commerce/PayPal/Main.php on line
   2335[13-Jun-2023 09:21:01 UTC] PHP Deprecated: Optional parameter $download_url
   declared before required parameter $js_action is implicitly treated as a required
   parameter in //wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/
   stellarwp/installer/src/Installer/Handler/Plugin.php on line 123[13-Jun-2023 
   09:21:01 UTC] PHP Deprecated: Optional parameter $did_action declared before 
   required parameter $js_action is implicitly treated as a required parameter in//
   wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/stellarwp/
   installer/src/Installer/Handler/Plugin.php on line 123[13-Jun-2023 09:21:02 UTC]
   PHP Deprecated: base64_encode(): Passing null to parameter #1 ($string) of type
   string is deprecated in //wp-content/plugins/event-tickets/src/Tribe/Commerce/
   PayPal/Main.php on line 2335

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

 *  Plugin Support [Darian](https://wordpress.org/support/users/d0153/)
 * (@d0153)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/php-errors-breaking-site/#post-16816294)
 * Hi [@startechmarketing](https://wordpress.org/support/users/startechmarketing/)
 * I’m sorry to hear that you’re having this issue.
 * As it turns out, this issue has already been reported to our development team,
   and we have already created an internal ticket that will handle this issue.
 * I have added your case to our internal ticket. While we don’t have an ETA, you’ll
   get notified once there is an update and fix.
 * In the meantime, the only workaround available is to downgrade your PHP to PHP
   8.0.
 * If you do have other concerns or issues you need help with, please create another
   support topic as indicated in the [WordPress.org](http://WordPress.org) support
   guidelines.
 * —
   Internal Bug Ticket Reference: TEC-4809
 *  [Guga Alves](https://wordpress.org/support/users/gugaalves/)
 * (@gugaalves)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/php-errors-breaking-site/#post-16893840)
 * Hi there!
 * We’re happy to inform you that this deprecation note has been fixed!
 * As always, we recommend [testing updates on a staging site](https://theeventscalendar.com/knowledgebase/k/creating-and-using-a-wordpress-staging-site/)
   first and keeping a recent backup, but the update should work smoothly.
 * Please upgrade your Events Calendar plugin to apply that fix to your site.
 *  Plugin Support [Darian](https://wordpress.org/support/users/d0153/)
 * (@d0153)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-errors-breaking-site/#post-16930382)
 * Hi [@startechmarketing](https://wordpress.org/support/users/startechmarketing/)
 * It appears that we haven’t heard back from you in a while, so I’ll assume that
   the matter has been resolved. If you need any more help, feel free to start a
   new thread and we’ll be happy to assist you.
 *  [dajoel2000](https://wordpress.org/support/users/dajoel2000/)
 * (@dajoel2000)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-errors-breaking-site/#post-16943853)
 * Hallo..
 * I have the same issue with this:
 * **Deprecated**: ltrim(): Passing null to parameter #1 ($string) of type string
   is deprecated in **/var/www/konsu/html/wp-includes/formatting.php** on line **
   4415**

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

 The topic ‘php errors breaking site’ is closed to new replies.

 * ![](https://ps.w.org/the-events-calendar/assets/icon-256x256.gif?rev=2516440)
 * [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [dajoel2000](https://wordpress.org/support/users/dajoel2000/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/php-errors-breaking-site/#post-16943853)
 * Status: resolved