Appointments+ plugin causing a timeout on my site

I have an appointments booking page which shows the calendars of 3 available studios that my members can make appointments in. If they want to book a 30 minute session, there is no problem navigating among the days and months of the calendar. If they want to book a 1, 2 or 3 hour session, the site will timeout, and I get an error that says:

Fatal error: Maximum execution time of 30 seconds exceeded in /www/wp-includes/plugin.php on line 177

What is going on? We’ve been using the plugin on our site for a couple of years. This seems to be a recent problem. Please help!!

  • Kasia Swiderska
    • Support nomad

    Hello Dennis,

    That error suggests that limit for max_execution_time is too low. Can your increase that value https://wpmudev.com/blog/increase-memory-limit/ and see if the issue will be gone?

    Your current limits can be found in WPMU DEV -> Support -> System Info.

    If that won’t help please run a quick plugin/theme conflict test as illustrated in getting support manual (flowchart). It might be that some other plugin is causing issue.

    http://wpmudev.com/manuals/using-wpmu-dev/getting-support/

    kind regards,

    Kasia

  • Dennis
    • Design Lord, Child of Thor

    It certainly helped, but it still takes about 2 minutes for a page to load on the site, which is too long. Is that normal for the appointments+ plugin? Is there something I can do to shorten the time it takes?

    I am displaying one monthly calendar for 3 bookable service providers. That shouldn’t be too demanding, should it? Or is that a lot of work for this particular plugin?

  • Nithin Ramdas
    • Support Wizard

    Hi Dennis,

    Hope you are doing good today. :slight_smile:

    I tried to access your website through the support access, but I'm getting the following screen:

    [attachments are only viewable by logged-in members]

    I also tried to check whether the appointments page is accessible through your front end, but it seems like the page is protected. Could you please revoke, and re-enable support access, so that we could give a closer look at this issue, and help get you sorted asap.

    Please do let us know once you have enabled support access, have a nice day. :slight_smile:

    Best Regards,

    Nithin

  • Dennis
    • Design Lord, Child of Thor

    Thanks Nithin. I deactivated the WPMU dashboard because I was doing some other work on the site. I reactivated the dashboard and gave support access to it. You can go ahead and take a look now. Please let me know what you see and if you need anything else.

  • apurba_podder
    • Site Builder, Child of Zeus

    Hello Dennis,

    Thanks for granted support access. I could see WP_MEMORY_LIMIT is 200. Please increase the WP memory limit to 512 at least. Please follow this article to increase memory limit.

    [attachments are only viewable by logged-in members]

    From google pages speed test I could see that page loading speed is pretty good.

    [attachments are only viewable by logged-in members]

    Please clear your browser cache, check your internet speed & try again. Please check & let us know if you need more help.

    Best Regards,

    Apurba

  • Dennis
    • Design Lord, Child of Thor

    I increased the memory limit, but it didn’t make a material difference. The plugin is still very slow and if not for increasing timeout limits, it wouldn’t work at all.

    I have done some digging, and am getting a lot of slow errors on the plugin. In particular, I am getting a lot of the following error:

    slow_errors_common: /www/wp-content/plugins/appointments/includes/class-app-gcal.php:34 __construct() /www/wp-content/plugins/appointments/appointments.php:219 get_gcal_api()

    What does this mean and how can I fix it?

  • Nithin Ramdas
    • Support Wizard

    Hi Dennis,

    Hope you are doing good today. :slight_smile:

    It seems like you have created a new thread related to this issue, and the developers have already replied to your queries:

    https://wpmudev.com/forums/topic/server-timeouts-with-appointments

    Would recommend you to follow up in your new thread, if you still have any issues, or queries related to this. Have a nice day ahead. :slight_smile:

    Best Regards,

    Nithin