Support » Plugin: Cache Enabler - WordPress Cache » 500 Error when updating to 1.2.3 on WP Multisite with domain mapping

  • Resolved adam__ph

    (@adam_ph)



    After upgrading to version 1.2.3 we get a 500 internal server error when viewing any site on our network. The site is a WP multisite with domain mapping. No problems prior to the latest update.

    This fatal error is in the debug log:

    [23-Aug-2018 15:56:59 UTC] PHP Fatal error: Uncaught Error: Call to undefined function absint() in /public/wp-includes/load.php:817
    Stack trace:
    #0 /public/wp-content/advanced-cache.php(30): get_current_blog_id()
    #1 /public/wp-settings.php(84): include(‘/srv/users/serv…’)
    #2 /public/wp-config.php(157): require_once(‘/srv/users/serv…’)
    #3 /public/wp-load.php(37): require_once(‘/srv/users/serv…’)
    #4 /public/wp-blog-header.php(13): require_once(‘/srv/users/serv…’)
    #5 /public/index.php(17): require(‘/srv/users/serv…’)
    #6 {main}
    thrown in /public/wp-includes/load.php on line 817

Viewing 10 replies - 1 through 10 (of 10 total)
  • We are experiencing the same issue immediately after upgrading to 1.2.3 and I do not have a copy of version 1.2.2 to rollback to.

    This issue brought down an entire network of 70 sites because the update happened in the wee hours, so I awoke to a down network. Clearing the cache and immediately deactivating the plugin resolved the issue, but we are without the EXCELLENT performance improvement provided by Cache Enabler.

    Can you provide a link to the previous version download until this issue can be resolved?

    Thanks

    • This reply was modified 5 months, 4 weeks ago by  SooBahkDo.
    • This reply was modified 5 months, 4 weeks ago by  SooBahkDo.
    • This reply was modified 5 months, 4 weeks ago by  SooBahkDo.

    Here is a copy of version 1.2.2 which we rolled back to, the issue is resolved once rolling back.

    https://cdn1.cloudcanvas.website/media/sites/50/2018/08/24073807/cache-enabler.zip

    First off, apologies for the lost sleep.

    This part of the code is specific to multisite and we call get_current_blog_id() here to create per-blog configurations. It then failing to load absint() is a strange one …

    Can you tell us your versions on PHP as well as WordPress so we can try to reproduce this?

    Also experienced same issue. Have had to network de-activate to bring all sites back up. Seemed to just affect homepage only for us, all other pages fine with Cache Enabler still enabled.

    @sebastiankro for us we are using the latest version of WP, PHP version 7.0.31 on all sites running as FPM application.

    I have the same error one of my sites (on a Multisite). Not the others

    We are using the latest version of WP 4.9.8 and PHP 7.2.9. With domain mapping with Mercator.

    Everyone,

    we’ve updated this code and it should work fine if you upgrade now. Should you already have the newest version but have it disabled at the moment, please remove it and re-install it.
    (We haven’t bumped up the version number)

    Note that advanced-cache.php lives outside of the plugins directory. It’s copied there on installation of the plugin and should be the same as the one in the plugins/cache-enabler directory. After an upgrade you might need to clear the cache to make that happen.

    Cheers

    It’s working again 🙂 A little bump would be good though.

    Love the simplicity and speed of this cache!

    Plugin Author keycdn

    (@keycdn)

    This has been fixed in v1.3.0.

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.