Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ltdev

    (@ltdev)

    Sure, on your plugins’ codebase there’s 2 instances where you call something like:

    if ( function_exists( 'apc_store' ) ) {
        apc_clear_cache(); //Let's clear APC (if it exists) when big stuff is saved.
    }

    You should probably change that to:

    if ( function_exists('apc_store') && !extension_loaded('apcu')) {
        apc_clear_cache(); //Let's clear APC (if it exists) when big stuff is saved.
    }

    That’s just of the top of my head without any testing, but I guess it should be enough.

    Best Regards

    Thread Starter ltdev

    (@ltdev)

    Replying to my own post.

    I further traced this issue to the plugin “better-wp-security” (iThemes security).

    This plugin calls apc_clear_cache() on two different occasions and this was causing our issues. On APCu this seems to clear the entire user cache. (which makes sense as APCu no longer has opcode cache)

    I’ve posted this bug on the plugins’ support forum.

    Yeah, I opened a ticket with woothemes regarding this issue this is what I was told regarding this issue:

    (…)
    “The accommodation extension does not, at this time, support resources or persons. The extension was built as a minimum viable product to gauge interest. If you would like to see these types of features added, the best thing to do would be to submit these ideas as feature requests to our Bookings Ideas Board. Ideas there are reviewed by our product managers and developers and prioritized according to demand.”

    Agreed, without resources and people this plugin is no better than the “bookable product”.

    In fact, I’m not even really sure how we can use this without the ability to define room types and person types.

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