Title: Problem with Advanced Repeat
Last modified: February 23, 2025

---

# Problem with Advanced Repeat

 *  Resolved [aaronreeve](https://wordpress.org/support/users/aaronreeve/)
 * (@aaronreeve)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/problem-with-advanced-repeat/)
 * Hi.
 * I am testing using the free version at the moment for capturing free events. 
   It repeats every 2nd and 4th Wednesday. When I activate the Advanced Repeat with
   these details and saves it crashes the website and does not create the recurring
   events. The error details from the crash report is below.
 *     ```wp-block-code
       Error Details=============An error of type E_ERROR was caused in line 3265 of the file **************//wp-content/plugins/eventprime-event-calendar-management/includes/class-eventprime-dbhandler.php. Error message: Uncaught Error: Call to undefined function cal_days_in_month() in **************//wp-content/plugins/eventprime-event-calendar-management/includes/class-eventprime-dbhandler.php:3265Stack trace:#0 **************//wp-content/plugins/eventprime-event-calendar-management/includes/class-eventprime-dbhandler.php(3216): EP_DBhandler->getWeeksInMonth('2025', '02', 7)#1 **************//wp-content/plugins/eventprime-event-calendar-management/includes/class-eventprime-dbhandler.php(2859): EP_DBhandler->nthDayInMonth('2', 3, '02', '2025')#2 **************//wp-content/plugins/eventprime-event-calendar-management/includes/class-eventprime-dbhandler.php(1154): EP_DBhandler->ep_event_advanced_recurrence(Object(WP_Post), Array, Array)#3 **************//wp-content/plugins/eventprime-event-calendar-management/includes/class-eventprime-dbhandler.php(1363): EP_DBhandler->eventprime_update_event_recurring_events(2350, Array, Object(WP_Post), Array)#4 **************//wp-content/plugins/eventprime-event-calendar-management/admin/class-eventprime-event-calendar-management-admin.php(1531): EP_DBhandler->eventprime_update_event_post_meta(2350, Array, Object(WP_Post))#5 **************//wp-includes/class-wp-hook.php(326): Eventprime_Event_Calendar_Management_Admin->ep_save_event_meta_boxes(2350, Object(WP_Post))#6 **************//wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)#7 **************//wp-includes/plugin.php(517): WP_Hook->do_action(Array)#8 **************//wp-includes/post.php(5060): do_action('save_post', 2350, Object(WP_Post), true)#9 **************//wp-includes/post.php(5162): wp_insert_post(Array, false, true)#10 **************//wp-admin/includes/post.php(453): wp_update_post(Array)#11 **************//wp-admin/post.php(227): edit_post()#12 {main}  thrown
       ```
   
 * I have only just installed the plugin and everything is upto date.
 * Cheers
 * Aaron

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

 *  [eventprimesupport](https://wordpress.org/support/users/eventprimesupport/)
 * (@eventprimesupport)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/problem-with-advanced-repeat/#post-18324671)
 * Hi [@aaronreeve](https://wordpress.org/support/users/aaronreeve/),
 * Thank you for writing to us!
 * The error message suggests that the PHP Calendar extension is either missing 
   or not enabled on your server.
 * Could you please verify its installation and activation status?
    You can check
   this by locating your php.ini file and ensuring the following line is present:
   extension=calendar Alternatively, you can confirm the extension’s status by running
   the following code: <?php phpinfo(); ?>
 * If you have any further questions or require additional information, please let
   us know.
    Always happy to help!
 *  Thread Starter [aaronreeve](https://wordpress.org/support/users/aaronreeve/)
 * (@aaronreeve)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/problem-with-advanced-repeat/#post-18325901)
 * hi. That’s yes that was it. My host has now enabled this and all works well. 
   Thanks.

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

The topic ‘Problem with Advanced Repeat’ is closed to new replies.

 * ![](https://ps.w.org/eventprime-event-calendar-management/assets/icon-256x256.
   gif?rev=2961582)
 * [EventPrime – Events Calendar, Bookings and Tickets](https://wordpress.org/plugins/eventprime-event-calendar-management/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/eventprime-event-calendar-management/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/eventprime-event-calendar-management/)
 * [Active Topics](https://wordpress.org/support/plugin/eventprime-event-calendar-management/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/eventprime-event-calendar-management/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/eventprime-event-calendar-management/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [aaronreeve](https://wordpress.org/support/users/aaronreeve/)
 * Last activity: [1 year, 1 month ago](https://wordpress.org/support/topic/problem-with-advanced-repeat/#post-18325901)
 * Status: resolved