• Resolved quirkymissy

    (@quirkylissy)


    I just updated the plugin to the latest version 4.3.4.1, and then site broke. WP sent a critical technical issue email with a recovery mode link so that I could deactivate the plugin. The error details show as appended.

    Error Details
    =============
    An error of type E_ERROR was caused in line 408 of the file /home/domain/public_html/domain.com/wp-content/plugins/wp-cloudflare-page-cache/wp-cloudflare-super-page-cache.php. Error message: Uncaught Error: [] operator not supported for strings in /home/domain/public_html/domain.com/wp-content/plugins/wp-cloudflare-page-cache/wp-cloudflare-super-page-cache.php:408
    Stack trace:
    #0 /home/domain/public_html/domain.com/wp-content/plugins/wp-cloudflare-page-cache/wp-cloudflare-super-page-cache.php(51): SW_CLOUDFLARE_PAGECACHE->update_plugin()
    #1 /home/domain/public_html/domain.com/wp-content/plugins/wp-cloudflare-page-cache/wp-cloudflare-super-page-cache.php(674): SW_CLOUDFLARE_PAGECACHE->__construct()
    #2 /home/domain/public_html/domain.com/wp-includes/class-wp-hook.php(287): {closure}(”)
    #3 /home/domain/public_html/domain.com/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #4 /home/domain/public_html/domain.com/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #5 /home/domain/public_html/domain.com/wp-settings.php(409): do_action(‘plugins_loaded’)
    #6 /home/domain/public_html/domain.com/wp-config.php(94): req

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Hi @quirkylissy,
    That is wired. Can you try again and check if you are still getting the error? Let me know.

    Thread Starter quirkymissy

    (@quirkylissy)

    I’ve tried a few times, and two of my websites broke after the update.

    Plugin Contributor iSaumya

    (@isaumya)

    Hi @quirkylissy,
    This is so wired. Yesterday I personally updated the plugin on more than 12 sites and didn’t faced this issue.
    Can you let me know that of you are manually updating the plugins from the update page or how?

    Thread Starter quirkymissy

    (@quirkylissy)

    I have tried updating from the plugin prompt (top navigation bar of admin page), as well as directly at the plugin page whereby there is an alert that new version is available.

    These are other plugins that I have installed:
    Broken Link Checker
    iThemes Security
    Jetpack by WordPress.com
    Google Analytics for WordPress by MonsterInsights
    Under Construction
    MailPoet 3 (New)
    MailPoet 3 Premium (New)
    Really Simple SSL
    WPFront Scroll Top
    WP-Optimize – Clean, Compress, Cache
    Yet Another Related Posts Plugin (YARPP)
    Yoast SEO

    Plugin Contributor Salvatore Fresta

    (@salvatorefresta)

    Hi,
    what php version are you using?

    Plugin Contributor iSaumya

    (@isaumya)

    Yes @quirkylissy,
    Can you please confirm you are running PHP 7.0 or above?

    Thread Starter quirkymissy

    (@quirkylissy)

    I am running PHP 7.3.6

    Plugin Contributor Salvatore Fresta

    (@salvatorefresta)

    Ok I understood the problem. Let me 5 minutes to release a patch

    Plugin Contributor Salvatore Fresta

    (@salvatorefresta)

    Hi @quirkylissy ,
    let me know if replacing your current version with the 4.3.4.2 solves you problem ??

    Plugin Contributor iSaumya

    (@isaumya)

    Thank you @quirkylissy for confirming.
    I think @salvatorefresta we can fix this issue by updating the codes in line no 407 & 408 in wp-cloudflare-super-page-cache.php to the following:

    $cf_excluded_urls = array( $this->get_single_config("cf_excluded_urls", '') );
    array_push( $cf_excluded_urls, '/*ao_noptirocket*' );

    What do you think?

    Edit: Oh! I see you have already released a patch. ??

    • This reply was modified 4 years, 3 months ago by iSaumya.
    • This reply was modified 4 years, 3 months ago by iSaumya. Reason: spelling mistake
    Thread Starter quirkymissy

    (@quirkylissy)

    Thank you guys! It worked!

    Plugin Contributor iSaumya

    (@isaumya)

    Thanks for confirming @quirkylissy. I’m resolving the thread them. If you have any other questions, feel free to get in touch and if you like the plugin, please don’t forget to submit a review. ??

    Thread Starter quirkymissy

    (@quirkylissy)

    Sadly, it presents a new problem. I tried to upload an image, but was showing an error as appended.I’m sure it’s from your plugin, once I deactivated it, uploading of images has no problem.

    Error:
    Post-processing of the image likely failed because the server is busy or does not have enough resources. Uploading a smaller image may help. Suggested maximum size is 2500 pixels.

    Plugin Contributor Salvatore Fresta

    (@salvatorefresta)

    Do you have fallback cache option active? If yes please try disabling it first

    Thread Starter quirkymissy

    (@quirkylissy)

    I disabled WP Super Cache, and it’s working fine now.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Critical error after dating to 4.3.4.1’ is closed to new replies.