Title: Processor overload due to depreciated PHP function
Last modified: November 17, 2022

---

# Processor overload due to depreciated PHP function

 *  [Hendrik57](https://wordpress.org/support/users/hendrik57/)
 * (@hendrik57)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/processor-overload-due-to-depreciated-php-function/)
 * We’ve disabled this plugin on all sites due to huge processor load:
 * Got error ‘PHP message: All-in-One Event Calendar: preg_split(): Passing null
   to parameter #3 ($limit) of type int is deprecated @ /home/sta……
 * This function is called every 30 seconds (log information)
 * Latest WordPress, PHP8.1.

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

 *  [mmicanek](https://wordpress.org/support/users/mmicanek/)
 * (@mmicanek)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/processor-overload-due-to-depreciated-php-function/#post-16224604)
 * we have been happy with the plugin for years, but they also needed to fix the
   above mentioned problem. Thank you in advance.
 *  [Benjamin](https://wordpress.org/support/users/bsokic/)
 * (@bsokic)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/processor-overload-due-to-depreciated-php-function/#post-16230360)
 * Hi [@hendrik57](https://wordpress.org/support/users/hendrik57/)
 * Thanks for reaching out!
 * It looks like you are still using our older plugin version. If you want to update
   your plugin and fix this issue, just contact us through this FORM, and we will
   guide you through the process.
 * Sincerely,
    Ben | Timely Customer Support`
 *  [burlingtonpress](https://wordpress.org/support/users/burlingtonpress/)
 * (@burlingtonpress)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/processor-overload-due-to-depreciated-php-function/#post-16363520)
 * Unfortunately dealing with this problem as well. Has anyone come up with a solution
   with the WordPress.org version of the plugin?
 *  [d.journois](https://wordpress.org/support/users/djournois/)
 * (@djournois)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/processor-overload-due-to-depreciated-php-function/#post-16603501)
 * Edit
 * /wp-content/plugins/all-in-one-event-calendar/lib/query/helper.php
 * on line 156 change null by 0
 * $elements = preg_split(‘/\$(\d+)/’,$query, null, PREG_SPLIT_DELIM_CAPTURE);
 * $elements = preg_split(‘/\$(\d+)/’,$query, 0, PREG_SPLIT_DELIM_CAPTURE);
 *  Thread Starter [Hendrik57](https://wordpress.org/support/users/hendrik57/)
 * (@hendrik57)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/processor-overload-due-to-depreciated-php-function/#post-16604300)
 * Ok. But should do this manualy on all sites we manage, or wil this fix be done
   with a regular update?
 *  Thread Starter [Hendrik57](https://wordpress.org/support/users/hendrik57/)
 * (@hendrik57)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/processor-overload-due-to-depreciated-php-function/#post-16604302)
 * Ok. But should do this manualy on all sites we manage, or wil this fix be done
   with a regular update?
 * Wow. Got a gateway timeout with his reply ….

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

The topic ‘Processor overload due to depreciated PHP function’ 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/)

 * 6 replies
 * 5 participants
 * Last reply from: [Hendrik57](https://wordpress.org/support/users/hendrik57/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/processor-overload-due-to-depreciated-php-function/#post-16604302)
 * Status: not resolved