• We’re getting a fatal PHP error when clicking Update Settings:

    An error of type E_ERROR was caused in line 3030 of the file /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/wp-cloudflare-page-cache/libs/cache_controller.class.php. Error message: Uncaught Error: Call to undefined function opcache_get_status() in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/wp-cloudflare-page-cache/libs/cache_controller.class.php:3030

    The code needs to be fixed, “Zend OPcache” should be changed to the module name “opcache”, and add a function_exists check as well for good measure:

    function purge_opcache() {

    // if ( ! extension_loaded( 'Zend OPcache' ) ) {
    if ( ! extension_loaded( 'opcache' ) ) {
    return false;
    }

    // Add this function check just in case
    if ( ! function_exists( 'opcache_get_status' ) ) {
    return false;
    }

    $opcache_status = opcache_get_status();

    I’m seeing a lot of unanswered support topics… is this plugin still being actively updated and supported?

    If not I’ll be looking into forking the plugin and offering it to my clients directly instead.

    Thanks,
    Rob

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support rodicaelena

    (@rodicaelena)

    Hi Rob,

    Thank you very much for reporting this. I’ve made sure to report this to the development team for review.

    Rest assured, the plugin is actively updated and supported. We are actually working on a big release which should be ready mid-July.

    Thank you!

    Thread Starter Rob – PressWizards / 5StarPlugins

    (@presswizards)

    Thank you @rodicaelena! Great to hear.

    I would suggest going through the support threads here and just replying and marking them as resolved pending further info etc, as it appears many go unanswered, which looks bad.

    I hope the testing of future releases is done better to avoid fatal errors such as this.

    Hammy Havoc

    (@hammyhavoc)

    I’ve been having this problem for weeks and it means I can’t exclude a page from being cached, which is stopping the launch of a project. Any news?

    5 Star Plugins

    (@5starplugins)

    @hammyhavoc A quick edit of this file using any File Manager tool:

    /plugins/wp-cloudflare-page-cache/libs/cache_controller.class.php

    Line 3030:

    Change: extension_loaded( ‘Zend OPcache’ ) to extension_loaded( ‘opcache’ ) and save it. That should solve the fatal error for you until they can patch the plugin properly.

    Would love to say that worked, but unfortunately still seeing the same error:

    There has been a critical error on this website. Please check your site admin email inbox for instructions. If you continue to have problems, please try the support forums.

    Plugin Support Kush

    (@kushnamdev)

    Please note that we are working on this issue and it will be fixed in the next update of the plugin.

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