• Resolved aaronreeve

    (@aaronreeve)


    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.

    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:3265

    Stack 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

    (@eventprimesupport)

    Hi @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

    (@aaronreeve)

    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.