Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter vyba335

    (@vyba335)

    Hi guys,

    We’ve found the problem and it’s unfortunately an untreated bug in your plugin.
    I will describe it below.

    Let’s say, you have opening hours from 10AM – 18PM (8hrs – no break) and time base is 90 minutes. This is so far okay if you will make 90 minutes or 30 minutes intervals for making an appointment. But if you accidentaly (or you just didn’t think about it) make interval for appointments 1 or 2 hours long, it will cause the crash I’ve sent you. Because it can’t check if there is appointment in last 90 minutes before the end of the day.

    Even older version can’t handle this. We tried to set it wrong in older version and it crashed the same. Maybe you should make some error warning in your plugin.
    We’ve updated the plugin and it works now. I’m wondering now what caused that it worked after downgrading. Maybe the older version checked if there is wrong settings and changed it to default. Because we had 15 minutes intervals for making appointments.

    Please take a closer look at this problem, because it might happen to more users. I will mark it as resolved now, but if you want to ask anything, just reply. I will turn on notifications.

    Best regards,
    Tomas

    Thread Starter vyba335

    (@vyba335)

    Hi guys,

    so we’ve tried almost everything and nothing worked. I don’t know what could be the problem, but I have downgraded the plugin back to 2.2.3 and it works again. So there definitely has to be a problem with new version. Maybe it collides with php or mysql version, but I can’t test it on this website.

    Best regards,
    Tomas

    Thread Starter vyba335

    (@vyba335)

    Hi Oguz,

    I’ve tried to disable everything and installed default theme. Even with only Twenty Seventeen and your plugin enabled, website couldn’t work properly.

    Like I already said. Everything started after plugin update.
    I have 7.0.10-2 PHP version.
    MySQL is 5.5.49-0
    cURL is 7.35.0
    I installed Health Check plugin and it seems that the cURL version is problem.
    “Error encountered: (0) cURL error 28: Operation timed out after 10000 milliseconds with 0 bytes received.”

    I’ve already tried to upgrade cURL. It’s 7.58 now, but it didn’t help. Me and my hosting provider are now trying to find out, if there is something wrong with server settings. I will stay in touch with you for additional info, but any idea would be appreciated.

    Best regards,
    Tomas

    Thread Starter vyba335

    (@vyba335)

    I believe it is this part of code, where is the problem.

    for ( $start_time = $open_hours[‘start’]; $start_time < $open_hours[‘end’]; $start_time = date( ‘H:i’, strtotime( ‘+’ . $duration . ‘ seconds’, strtotime( $start_time ) ) ) ) {
    $end_slot = date( ‘H:i’, strtotime( ‘+’ . $duration . ‘ seconds’, strtotime( $start_time ) ) );
    if ( $end_slot > $open_hours[‘end’] ) {
    break;
    }

    if ( ! in_array( $start_time, $slot_starts ) ) {
    $slot_starts[] = $start_time;
    }
    }

    Every time it’s pointing to one of these lines. The same error “Maximum execution time of 120 seconds exceeded”. The problem is, that I can increase the limit, but it’s always the same error only with another time and the page won’t load. Other pages without shortcode from the plugin are working.

    [app_schedule service=”1″]
    [app_pagination]
    [app_login]
    [app_confirmation]

    I’m using these shortcodes on both pages. I’m also using visual page editor Avada.
    But everything worked before update.

    Best regards,
    Tomas

    Thread Starter vyba335

    (@vyba335)

    Hi Dimitris,

    thank you for your fast response. I have increased the limit, but it didn’t help.

    Something is wrong with the plugin. Everything worked fine until I’ve updated it. After that, the site started to throw these errors. I tried to reinstall the plugin, but it didn’t work. When I deactivate the plugin, the web works normally.

    The error is pointing to this file: /appointments/includes/helpers.php and specifically to line 296 which is:

    “$end_slot = date( ‘H:i’, strtotime( ‘+’ . $duration . ‘ seconds’, strtotime( $start_time ) ) );”

    Any ideas what could be wrong?

    Best regards,
    Tomas

    Thread Starter vyba335

    (@vyba335)

    Hi.

    “You can see on the homepage, that the void is creating excerpts, that include navigation menu.”

    This is my problem. I don’t want to hide excerpts.
    I’ve created my template, where I’m using “default navbar” element.
    Your plugin somehow includes menu items and post titles in excerpts. You can see it on the homepage. This string “Domů Dlouhé svatební šaty Krátké svatební šaty Šaty pro plnoštíhlé Šaty pro svatební matku” is in every excerpt, so as the title of the post.

    I didn’t modify the plugin, so there has to be some sort of bug with function, that is taking the text from target post.

    I thought it could be a problem for a few other people, so I want to resolve it here for me and the others. 🙂 It’s rly nice and easy plugin.

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