Title: Deprecated code warning.
Last modified: February 25, 2025

---

# Deprecated code warning.

 *  Resolved [Douglas “BearlyDoug” Hazard](https://wordpress.org/support/users/bearlydoug/)
 * (@bearlydoug)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/deprecated-code-warning-2/)
 * This is on 11 different sites I manage, running PHP 8.3x. All updated to 3.0.1.
 * `[25-Feb-2025 23:23:49 UTC] All-in-One Event Calendar: Creation of dynamic property
   Ai1ec_Scheduling_Utility::$_updated is deprecated @ /var/www/html/wp-content/
   plugins/all-in-one-event-calendar/lib/scheduling/utility.php:45 #8192
   [25-Feb-
   2025 23:23:49 UTC] All-in-One Event Calendar: Using ${var} in strings is deprecated,
   use {$var} instead @ /var/www/html/wp-content/plugins/all-in-one-event-calendar/
   vendor/lessphp/lessc.inc.php:1215 #8192[25-Feb-2025 23:23:49 UTC] All-in-One 
   Event Calendar: Using ${var} in strings is deprecated, use {$var} instead @ /
   var/www/html/wp-content/plugins/all-in-one-event-calendar/vendor/lessphp/lessc.
   inc.php:1560 #8192[25-Feb-2025 23:23:49 UTC] All-in-One Event Calendar: Using
   ${var} in strings is deprecated, use {$var} instead @ /var/www/html/wp-content/
   plugins/all-in-one-event-calendar/vendor/lessphp/lessc.inc.php:1560 #8192[25-
   Feb-2025 23:23:49 UTC] All-in-One Event Calendar: Creation of dynamic property
   lessc::$formatterName is deprecated @ /var/www/html/wp-content/plugins/all-in-
   one-event-calendar/vendor/lessphp/lessc.inc.php:1952 #8192[25-Feb-2025 23:23:
   49 UTC] PHP Warning: Undefined variable $server_name in /var/www/html/wp-content/
   plugins/wp-spamshield/wp-spamshield.php on line 765[25-Feb-2025 23:23:49 UTC]
   All-in-One Event Calendar: Creation of dynamic property Ai1ec_Http_Request::$
   _registry is deprecated @ /var/www/html/wp-content/plugins/all-in-one-event-calendar/
   lib/http/request.php:22 #8192[25-Feb-2025 23:23:50 UTC] All-in-One Event Calendar:
   preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated
   @ /var/www/html/wp-content/plugins/all-in-one-event-calendar/lib/query/helper.
   php:156 #8192

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

 *  Plugin Support [yenmer](https://wordpress.org/support/users/yenmer/)
 * (@yenmer)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/deprecated-code-warning-2/#post-18330743)
 * Hi [@bearlydoug](https://wordpress.org/support/users/bearlydoug/) 
   Thanks for
   reaching out!To better assist you please fill out the following form [here](https://time.ly/contact/),
   and we will review your request.Sincerely,Yenmer.Timely Customer Support.
 *  Thread Starter [Douglas “BearlyDoug” Hazard](https://wordpress.org/support/users/bearlydoug/)
 * (@bearlydoug)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/deprecated-code-warning-2/#post-18330773)
 * Respectfully, you can submit that request… after all, it’s your code (I shouldn’t
   have to do your job for you). IMHO, y’all need to take ownership of your code
   and this issue. 🙂
 *  [suikerspin](https://wordpress.org/support/users/suikerspin/)
 * (@suikerspin)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/deprecated-code-warning-2/#post-18331968)
 * We have the same.. The website is running with PHP version 8.1 . The error log
   is growing rapidly gigabytes daily filled with errors:
 * mod_fcgid: stderr: All-in-One Event Calendar: Return type of Ai1ec_Abstract_Query::
   offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(
   mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute
   should be used to temporarily suppress the notice @ /var/www/vhosts/domain.ext/
   public_html/wp-content/plugins/all-in-one-event-calendar/lib/http/request/abstract.
   php:215 #8192 Apache error
 * 
   Warning mod_fcgid: stderr: All-in-One Event Calendar: Return type of Ai1ec_Abstract_Query::
   offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(
   mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used
   to temporarily suppress the notice @ /var/www/vhosts/domain.ext/public_html/wp-
   content/plugins/all-in-one-event-calendar/lib/http/request/abstract.php:222 #
   8192 Apache error
 * mod_fcgid: stderr: All-in-One Event Calendar: trim(): Passing null to parameter#
   1 ($string) of type string is deprecated @ /var/www/vhosts/domain.ext/public_html/
   wp-content/plugins/all-in-one-event-calendar/lib/iCal/iCalcreator-2.26.9/src/
   Util/Util.php:491 #8192 Apache error
 * 
   mod_fcgid: stderr: All-in-One Event Calendar: str_replace(): Passing null to
   parameter #2 ($replace) of type array|string is deprecated @ /var/www/vhosts/
   domain.ext/public_html/wp-content/plugins/all-in-one-event-calendar/lib/iCal/
   iCalcreator-2.26.9/src/Util/UtilRexdate.php:417 #8192
 *  [akxak](https://wordpress.org/support/users/akxak/)
 * (@akxak)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/deprecated-code-warning-2/#post-18364105)
 * Seeing threads starting from 2024 with this issue I wonder how it can happen 
   that code is released without this being fixed.
 * An the only support answer… fill in form… but no fix and no substantial answer.
 * So far, this plugin is not compatible with php 8+ in my eyes. I will not renew
   my subscription.
    -  This reply was modified 1 year, 2 months ago by [akxak](https://wordpress.org/support/users/akxak/).
 *  [stevea715](https://wordpress.org/support/users/stevea715/)
 * (@stevea715)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/deprecated-code-warning-2/#post-18371035)
 * Temporary fix (turns off error logging) until I can migrate off this abandonware:
 * Edit file: wp-content/plugins/all-in-one-event-calendar/lib/exception/handler.
   php
 * Line number: 288
 * Find: return error_log( $message, 0 );
 * Change to: return;// error_log( $message, 0 );
    -  This reply was modified 1 year, 2 months ago by [stevea715](https://wordpress.org/support/users/stevea715/).

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

The topic ‘Deprecated code warning.’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/all-in-one-event-calendar.svg)
 * [Timely All-in-One Events Calendar](https://wordpress.org/plugins/all-in-one-event-calendar/)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-event-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-event-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-event-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-event-calendar/reviews/)

 * 5 replies
 * 5 participants
 * Last reply from: [stevea715](https://wordpress.org/support/users/stevea715/)
 * Last activity: [1 year, 2 months ago](https://wordpress.org/support/topic/deprecated-code-warning-2/#post-18371035)
 * Status: resolved