Title: Errors in PHP 8.1
Last modified: December 26, 2023

---

# Errors in PHP 8.1

 *  Resolved [typeless](https://wordpress.org/support/users/jbalyo/)
 * (@jbalyo)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/errors-in-php-8-1/)
 * All-In-One Event Calendar version 3.0.0 running on PHP 8.1.16 fills up my PHP
   error log with warnings at the rate of about 1 GB per day, on a fairly low traffic
   website.
 * Here are the errors I’ve identified so far:
 * `[22-Jun-2023 16:36:28 UTC] All-in-One Event Calendar: preg_split(): Passing 
   null to parameter #3 ($limit) of type int is deprecated @ /var/www/htdocs/wp-
   content/plugins/all-in-one-event-calendar/lib/query/helper.php:160 #8192`
 * `[22-Jun-2023 16:37:24 UTC] All-in-One Event Calendar: Return type of Ai1ec_Abstract_Query::
   offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(
   mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used
   to temporarily suppress the notice @ /var/www/htdocs/wp-content/plugins/all-in-
   one-event-calendar/lib/http/request/abstract.php:198 #8192`
 * `[22-Jun-2023 16:37:24 UTC] All-in-One Event Calendar: Return type of Ai1ec_Abstract_Query::
   offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed
   $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to 
   temporarily suppress the notice @ /var/www/htdocs/wp-content/plugins/all-in-one-
   event-calendar/lib/http/request/abstract.php:208 #8192`
 * `[22-Jun-2023 16:37:24 UTC] 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/htdocs/wp-content/
   plugins/all-in-one-event-calendar/lib/http/request/abstract.php:215 #8192`
 * `[22-Jun-2023 16:37:24 UTC] 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/htdocs/wp-content/plugins/all-in-
   one-event-calendar/lib/http/request/abstract.php:222 #8192`
 * `[22-Jun-2023 16:37:24 UTC] All-in-One Event Calendar: Automatic conversion of
   false to array is deprecated @ /var/www/htdocs/wp-content/plugins/all-in-one-
   event-calendar/app/controller/javascript.php:378 #8192`
 * `[22-Jun-2023 16:37:29 UTC] All-in-One Event Calendar: preg_split(): Passing 
   null to parameter #3 ($limit) of type int is deprecated @ /var/www/htdocs/wp-
   content/plugins/all-in-one-event-calendar/lib/query/helper.php:160 #8192`
 * `[22-Jun-2023 16:37:30 UTC] All-in-One Event Calendar: preg_match(): Passing 
   null to parameter #4 ($flags) of type int is deprecated @ /var/www/htdocs/wp-
   content/plugins/all-in-one-event-calendar/vendor/twig/Lexer.php:209 #8192`
 * `[22-Jun-2023 16:37:30 UTC] All-in-One Event Calendar: preg_match(): Passing 
   null to parameter #4 ($flags) of type int is deprecated @ /var/www/htdocs/wp-
   content/plugins/all-in-one-event-calendar/vendor/twig/Lexer.php:209 #8192`
 * `[22-Jun-2023 16:37:30 UTC] All-in-One Event Calendar: Return type of Twig_Node::
   getIterator() should either be compatible with IteratorAggregate::getIterator():
   Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily
   suppress the notice @ /var/www/htdocs/wp-content/plugins/all-in-one-event-calendar/
   vendor/twig/Node.php:222 #8192`
 * `[22-Jun-2023 16:37:31 UTC] All-in-One Event Calendar: ob_get_clean(): Failed
   to discard buffer of zlib output compression (1) @ /var/www/htdocs/wp-content/
   plugins/all-in-one-event-calendar/lib/global-functions.php:38 #8`
 * `[22-Jun-2023 16:37:31 UTC] All-in-One Event Calendar: ob_get_clean(): Failed
   to delete buffer of zlib output compression (1) @ /var/www/htdocs/wp-content/
   plugins/all-in-one-event-calendar/lib/global-functions.php:38 #8`

Viewing 1 replies (of 1 total)

 *  Plugin Support [yenmer](https://wordpress.org/support/users/yenmer/)
 * (@yenmer)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/errors-in-php-8-1/#post-16901882)
 * Hi [@jbalyo](https://wordpress.org/support/users/jbalyo/)
 * Thanks for reaching out!
 * To better assist you please fill out our requests form [here](https://time.ly/contact/),
   and we will review your request.
 * Sincerely,
   **Yenmer.**Timely Customer Support

Viewing 1 replies (of 1 total)

The topic ‘Errors in PHP 8.1’ 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/)

## Tags

 * [errors](https://wordpress.org/support/topic-tag/errors/)

 * 1 reply
 * 4 participants
 * Last reply from: [yenmer](https://wordpress.org/support/users/yenmer/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/errors-in-php-8-1/#post-16901882)
 * Status: resolved